]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Avoid trashing sr2 and sr3 in LWS code
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 28 Oct 2016 20:13:42 +0000 (22:13 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 2 Nov 2016 22:05:11 +0000 (23:05 +0100)
commitdbe4d5e4614d48b60842e4e45578bc82eeb67c2d
treeb151cf4e28e962d0a49962e02651ed4596689e57
parent2f48a4734f8a0eb9f3ade35fe511653453bfbcb4
parisc: Avoid trashing sr2 and sr3 in LWS code

There is no need to trash sr2 and sr3 in the Light-weight syscall (LWS).  sr2
already points to kernel space (it's zero in userspace, otherwise syscalls
wouldn't work), and since the LWS code is executed in userspace, we can simply
ignore to preload sr3.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/syscall.S