diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2015-07-04 15:27:39 +0300 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 20:01:18 +0200 |
| commit | dbace15d522b1569f8e290a99d98800335dd2ccb (patch) | |
| tree | 8228a274bf25c64c33d6aaef95f12502a780170c /kernel/debug | |
| parent | 6708e73efa014020bbabb89864a02a111d8a8f0f (diff) | |
xtensa: fix threadptr reload on return to userspace
commit 4229fb12a03e5da5882b420b0aa4a02e77447b86 upstream.
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.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
