]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerZefan Li <lizefan@huawei.com>
Thu, 25 Sep 2014 03:49:12 +0000 (11:49 +0800)
commitf40751b1c75f30a3d4029f6f1419e2f79bb995c3
tree577d5690a77b9cad01d78e9a2aa7169633c51752
parentbcf20fd278687960f794b46aa1e06bc0dd99eecf
xtensa: fix a6 and a7 handling in fast_syscall_xtensa

commit d1b6ba82a50cecf94be540a3a153aa89d97511a0 upstream.

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.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
arch/xtensa/kernel/entry.S