]> err.no Git - linux-2.6/blobdiff - arch/um/sys-x86_64/syscall_table.c
i386/x86_64: move headers to include/asm-x86
[linux-2.6] / arch / um / sys-x86_64 / syscall_table.c
index 9e9ad72c2ba4fad3f836ff6f294cfa045f6d9622..71b2ae4ad5de17985ee73b97bc43088f67ef2167 100644 (file)
@@ -4,6 +4,7 @@
 #include <linux/linkage.h>
 #include <linux/sys.h>
 #include <linux/cache.h>
+#include <kern_constants.h>
 
 #define __NO_STUBS
 
@@ -35,7 +36,7 @@
 
 #define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ;
 #undef _ASM_X86_64_UNISTD_H_
-#include <asm-x86_64/unistd.h>
+#include <asm-x86/unistd_64.h>
 
 #undef __SYSCALL
 #define __SYSCALL(nr, sym) [ nr ] = sym,
@@ -45,8 +46,8 @@ typedef void (*sys_call_ptr_t)(void);
 
 extern void sys_ni_syscall(void);
 
-sys_call_ptr_t sys_call_table[__NR_syscall_max+1] __cacheline_aligned = {
+sys_call_ptr_t sys_call_table[UM_NR_syscall_max+1] __cacheline_aligned = {
        /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */
-       [0 ... __NR_syscall_max] = &sys_ni_syscall,
-#include <asm-x86_64/unistd.h>
+       [0 ... UM_NR_syscall_max] = &sys_ni_syscall,
+#include <asm-x86/unistd_64.h>
 };