Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xtensa: fix threadptr reload on return to userspace
commit 4229fb1 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>
- Loading branch information