x86/entry/syscalls: Move syscall table declarations into asm/syscalls.h
[firefly-linux-kernel-4.4.55.git] / arch / x86 / um / sys_call_table_64.c
index a75d8700472a4f52db0211217cf7bbcd4f2dc1f5..1ff9a21b26459af1bef889a490d54f59ecf190b6 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/sys.h>
 #include <linux/cache.h>
 #include <generated/user_constants.h>
+#include <asm/syscall.h>
 
 #define __NO_STUBS
 
@@ -43,8 +44,6 @@
 #undef __SYSCALL_64
 #define __SYSCALL_64(nr, sym, compat) [ nr ] = sym,
 
-typedef void (*sys_call_ptr_t)(void);
-
 extern void sys_ni_syscall(void);
 
 const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {