KVM: Fix the explanation of write_emulated
[safe/jmp/linux-2.6] / arch / x86 / include / asm / unistd_64.h
index 53025fe..4843f7b 100644 (file)
@@ -653,8 +653,16 @@ __SYSCALL(__NR_dup3, sys_dup3)
 __SYSCALL(__NR_pipe2, sys_pipe2)
 #define __NR_inotify_init1                     294
 __SYSCALL(__NR_inotify_init1, sys_inotify_init1)
-#define __NR_perf_counter_open         295
-__SYSCALL(__NR_perf_counter_open, sys_perf_counter_open)
+#define __NR_preadv                            295
+__SYSCALL(__NR_preadv, sys_preadv)
+#define __NR_pwritev                           296
+__SYSCALL(__NR_pwritev, sys_pwritev)
+#define __NR_rt_tgsigqueueinfo                 297
+__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
+#define __NR_perf_event_open                   298
+__SYSCALL(__NR_perf_event_open, sys_perf_event_open)
+#define __NR_recvmmsg                          299
+__SYSCALL(__NR_recvmmsg, sys_recvmmsg)
 
 #ifndef __NO_STUBS
 #define __ARCH_WANT_OLD_READDIR
@@ -682,6 +690,12 @@ __SYSCALL(__NR_perf_counter_open, sys_perf_counter_open)
 #endif /* __NO_STUBS */
 
 #ifdef __KERNEL__
+
+#ifndef COMPILE_OFFSETS
+#include <asm/asm-offsets.h>
+#define NR_syscalls (__NR_syscall_max + 1)
+#endif
+
 /*
  * "Conditional" syscalls
  *