diff options
Diffstat (limited to 'arch/um/sys-x86_64')
-rw-r--r-- | arch/um/sys-x86_64/syscall_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c index 5133988d3610..71b2ae4ad5de 100644 --- a/arch/um/sys-x86_64/syscall_table.c +++ b/arch/um/sys-x86_64/syscall_table.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; | 37 | #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; |
38 | #undef _ASM_X86_64_UNISTD_H_ | 38 | #undef _ASM_X86_64_UNISTD_H_ |
39 | #include <asm-x86_64/unistd.h> | 39 | #include <asm-x86/unistd_64.h> |
40 | 40 | ||
41 | #undef __SYSCALL | 41 | #undef __SYSCALL |
42 | #define __SYSCALL(nr, sym) [ nr ] = sym, | 42 | #define __SYSCALL(nr, sym) [ nr ] = sym, |
@@ -49,5 +49,5 @@ extern void sys_ni_syscall(void); | |||
49 | sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = { | 49 | sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = { |
50 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ | 50 | /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ |
51 | [0 ... UM_NR_syscall_max] = &sys_ni_syscall, | 51 | [0 ... UM_NR_syscall_max] = &sys_ni_syscall, |
52 | #include <asm-x86_64/unistd.h> | 52 | #include <asm-x86/unistd_64.h> |
53 | }; | 53 | }; |