aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86_64/syscall_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86_64/syscall_table.c')
-rw-r--r--arch/um/sys-x86_64/syscall_table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/um/sys-x86_64/syscall_table.c b/arch/um/sys-x86_64/syscall_table.c
index 32f5fbe2d0d2..dd21d69715e6 100644
--- a/arch/um/sys-x86_64/syscall_table.c
+++ b/arch/um/sys-x86_64/syscall_table.c
@@ -41,12 +41,12 @@
41#define stub_rt_sigreturn sys_rt_sigreturn 41#define stub_rt_sigreturn sys_rt_sigreturn
42 42
43#define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; 43#define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ;
44#undef ASM_X86__UNISTD_64_H 44#undef _ASM_X86_UNISTD_64_H
45#include <asm-x86/unistd_64.h> 45#include "../../x86/include/asm/unistd_64.h"
46 46
47#undef __SYSCALL 47#undef __SYSCALL
48#define __SYSCALL(nr, sym) [ nr ] = sym, 48#define __SYSCALL(nr, sym) [ nr ] = sym,
49#undef ASM_X86__UNISTD_64_H 49#undef _ASM_X86_UNISTD_64_H
50 50
51typedef void (*sys_call_ptr_t)(void); 51typedef void (*sys_call_ptr_t)(void);
52 52
@@ -64,7 +64,7 @@ extern void sys_ni_syscall(void);
64 */ 64 */
65 65
66sys_call_ptr_t sys_call_table[] __cacheline_aligned = { 66sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
67#include <asm-x86/unistd_64.h> 67#include "../../x86/include/asm/unistd_64.h"
68}; 68};
69 69
70int syscall_table_size = sizeof(sys_call_table); 70int syscall_table_size = sizeof(sys_call_table);