]> 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)
commit9c721a3befe5ed2a326dca709b7e2b0070bff990
treeb151cf4e28e962d0a49962e02651ed4596689e57
parentadc32922317cb727145e228ab8acac284e42f37b
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