summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/syscall_32.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-02-27 12:39:30 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-27 13:25:49 -0800
commitde25c71cf6b4d9bb49937f96485c8a35c577d567 (patch)
treedef1214020b866244ef90ed3784d899b35b1a346 /arch/x86/entry/syscall_32.c
parent3621644dbcd549dd5b7759d4eb25943699aa3c62 (diff)
downloadlinux-de25c71cf6b4d9bb49937f96485c8a35c577d567.tar.bz2
Broken, but working, ptregs system call conversion for x86-64WIP-syscall
Not-yet-signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/entry/syscall_32.c')
-rw-r--r--arch/x86/entry/syscall_32.c4
1 files changed, 2 insertions, 2 deletions
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 <asm/asm-offsets.h>
#include <asm/syscall.h>
-#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 <asm/syscalls_32.h>
#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] = {
/*