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)
commit3a790cc1c9ef1b7b613cf648e6fb756a842caa16
tree18fb3bac5d91bb330cfa39e982e74d8e18171f27
parent39589ada1cab9548325767e6aea43a31132467de
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