]> git.baikalelectronics.ru Git - kernel.git/commit
s390: pass struct pt_regs instead of registers to syscalls
authorSven Schnelle <svens@linux.ibm.com>
Mon, 18 Jan 2021 08:35:38 +0000 (09:35 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Jan 2021 11:29:27 +0000 (12:29 +0100)
commitfe07cc8bdb7cabefb9d085206c623decaabc6a6f
tree18fb3bac5d91bb330cfa39e982e74d8e18171f27
parentfc9d13b47ca57f0b3bb3b603e7bb0d77a4f2c674
s390: pass struct pt_regs instead of registers to syscalls

Instead of fetching all registers from struct pt_regs and passing
them to the syscall wrappers, let the system call wrappers only
fetch the values really required.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/include/asm/syscall_wrapper.h
arch/s390/kernel/syscall.c