X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fum%2Finclude%2Fsysdep-x86_64%2Fsyscalls.h;h=cf72256609e4ea29d42b331123b1db672c9c4899;hb=5e16e3f0e24dadb79b96b6134cd3303f0d42f0c5;hp=e06f83e80f4a9e8aa57d5cf5ff26cd455e367d89;hpb=64c4813d9ea0d646a0652bd9dcc5b40db6ddce69;p=linux-2.6-omap-h63xx.git diff --git a/arch/um/include/sysdep-x86_64/syscalls.h b/arch/um/include/sysdep-x86_64/syscalls.h index e06f83e80f4..cf72256609e 100644 --- a/arch/um/include/sysdep-x86_64/syscalls.h +++ b/arch/um/include/sysdep-x86_64/syscalls.h @@ -9,11 +9,10 @@ #include #include +#include typedef long syscall_handler_t(void); -extern syscall_handler_t *ia32_sys_call_table[]; - extern syscall_handler_t *sys_call_table[]; #define EXECUTE_SYSCALL(syscall, regs) \ @@ -31,6 +30,6 @@ extern long old_mmap(unsigned long addr, unsigned long len, extern syscall_handler_t sys_modify_ldt; extern syscall_handler_t sys_arch_prctl; -#define NR_syscalls (__NR_syscall_max + 1) +#define NR_syscalls (UM_NR_syscall_max + 1) #endif