]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/xtensa/kernel/entry.S
xtensa: fix a6 and a7 handling in fast_syscall_xtensa
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 31 Jul 2014 18:40:57 +0000 (22:40 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:31 +0000 (11:59 +0400)
commitd1b6ba82a50cecf94be540a3a153aa89d97511a0
tree4e77c4cc78304f8253bd56da69bada62b08e8717
parenta83b02e9bd0c28d27b6c6e5b184585f7a1b8bf86
xtensa: fix a6 and a7 handling in fast_syscall_xtensa

Remove restoring a6 on some return paths and instead modify and restore
it in a single place, using symbolic name.
Correctly restore a7 from PT_AREG7 in case of illegal a6 value.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/entry.S