diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-27 12:39:30 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-27 13:25:49 -0800 |
commit | de25c71cf6b4d9bb49937f96485c8a35c577d567 (patch) | |
tree | def1214020b866244ef90ed3784d899b35b1a346 /arch/x86/entry/syscall_64.c | |
parent | 3621644dbcd549dd5b7759d4eb25943699aa3c62 (diff) | |
download | linux-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_64.c')
-rw-r--r-- | arch/x86/entry/syscall_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/entry/syscall_64.c b/arch/x86/entry/syscall_64.c index c176d2fab1da..4e4755ce709e 100644 --- a/arch/x86/entry/syscall_64.c +++ b/arch/x86/entry/syscall_64.c @@ -7,13 +7,13 @@ #include <asm/asm-offsets.h> #include <asm/syscall.h> -#define __SYSCALL_64(nr, sym, qual) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); +#define __SYSCALL_64(nr, sym, qual) extern asmlinkage long sym(struct pt_regs *); #include <asm/syscalls_64.h> #undef __SYSCALL_64 #define __SYSCALL_64(nr, sym, qual) [nr] = sym, -extern long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); +extern long sys_ni_syscall(struct pt_regs *); asmlinkage const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { /* |