]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf4125cfdb3008363137f744c101e5d76ead760ba
treeb151cf4e28e962d0a49962e02651ed4596689e57
parent6f63d0f6be4e48b3042df9541694f6f2c405017e
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