summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/processor.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2021-01-18 09:35:38 +0100
committerVasily Gorbik <gor@linux.ibm.com>2021-01-19 12:29:27 +0100
commit3a790cc1c9ef1b7b613cf648e6fb756a842caa16 (patch)
tree18fb3bac5d91bb330cfa39e982e74d8e18171f27 /arch/s390/include/asm/processor.h
parent39589ada1cab9548325767e6aea43a31132467de (diff)
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>
Diffstat (limited to 'arch/s390/include/asm/processor.h')
-rw-r--r--arch/s390/include/asm/processor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index fa67b66bf144..023a15dc25a3 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -40,9 +40,7 @@
#include <asm/fpu/internal.h>
#include <asm/irqflags.h>
-typedef long (*sys_call_ptr_t)(unsigned long, unsigned long,
- unsigned long, unsigned long,
- unsigned long, unsigned long);
+typedef long (*sys_call_ptr_t)(struct pt_regs *regs);
static inline void set_cpu_flag(int flag)
{