aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/sysdep-x86_64/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/sysdep-x86_64/syscalls.h')
-rw-r--r--arch/um/include/sysdep-x86_64/syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/include/sysdep-x86_64/syscalls.h b/arch/um/include/sysdep-x86_64/syscalls.h
index 5e86aa047b2b..cf72256609e4 100644
--- a/arch/um/include/sysdep-x86_64/syscalls.h
+++ b/arch/um/include/sysdep-x86_64/syscalls.h
@@ -9,6 +9,7 @@
9 9
10#include <linux/msg.h> 10#include <linux/msg.h>
11#include <linux/shm.h> 11#include <linux/shm.h>
12#include <kern_constants.h>
12 13
13typedef long syscall_handler_t(void); 14typedef long syscall_handler_t(void);
14 15
@@ -29,6 +30,6 @@ extern long old_mmap(unsigned long addr, unsigned long len,
29extern syscall_handler_t sys_modify_ldt; 30extern syscall_handler_t sys_modify_ldt;
30extern syscall_handler_t sys_arch_prctl; 31extern syscall_handler_t sys_arch_prctl;
31 32
32#define NR_syscalls (__NR_syscall_max + 1) 33#define NR_syscalls (UM_NR_syscall_max + 1)
33 34
34#endif 35#endif