commit | 4229fb12a03e5da5882b420b0aa4a02e77447b86 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Sat Jul 04 15:27:39 2015 +0300 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Wed Jul 15 01:48:43 2015 +0300 |
tree | dae650d8c8d25e62f98674fdabfabeabb508e257 | |
parent | 72ce6787e37a14f6aaab1a0b024f20440c961517 [diff] |
xtensa: fix threadptr reload on return to userspace Userspace return code may skip restoring THREADPTR register if there are no registers that need to be zeroed. This leads to spurious failures in libc NPTL tests. Always restore THREADPTR on return to userspace. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>