From de25c71cf6b4d9bb49937f96485c8a35c577d567 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 27 Feb 2018 12:39:30 -0800 Subject: Broken, but working, ptregs system call conversion for x86-64 Not-yet-signed-off-by: Linus Torvalds --- arch/x86/entry/syscall_32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/x86/entry/syscall_32.c') diff --git a/arch/x86/entry/syscall_32.c b/arch/x86/entry/syscall_32.c index 95c294963612..ad9d5c1cdb3b 100644 --- a/arch/x86/entry/syscall_32.c +++ b/arch/x86/entry/syscall_32.c @@ -7,13 +7,13 @@ #include #include -#define __SYSCALL_I386(nr, sym, qual) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) ; +#define __SYSCALL_I386(nr, sym, qual) extern asmlinkage long sym(struct pt_regs *); #include #undef __SYSCALL_I386 #define __SYSCALL_I386(nr, sym, qual) [nr] = sym, -extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); +extern asmlinkage long sys_ni_syscall(struct pt_regs *); __visible const sys_call_ptr_t ia32_sys_call_table[__NR_syscall_compat_max+1] = { /* -- cgit v1.2.3