summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-06-19 10:30:29 +0200
committerArnd Bergmann <arnd@arndb.de>2009-06-19 14:58:11 +0200
commitfcec9bf12442d0cd50d6cee125d168cfc3f37c5e (patch)
treefdb912dda667b1166e0448dc0e1161e8e1a972d9 /include/asm-generic
parent1527aab617af87f2d2121fa3ff5aa79d96e7ad2f (diff)
downloadlinux-fcec9bf12442d0cd50d6cee125d168cfc3f37c5e.tar.gz
linux-fcec9bf12442d0cd50d6cee125d168cfc3f37c5e.tar.bz2
linux-fcec9bf12442d0cd50d6cee125d168cfc3f37c5e.zip
asm-generic: hook up new system calls
sys_rt_tgsigqueueinfo and sys_perf_counter_open have been added in 2.6.31, so hook them up in the generic unistd.h file. Since the file is now in the mainline kernel, we are no longer reordering the numbers but just add system calls at the end. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/unistd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 5b34b6233d6d..1125e5a1ee5d 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -618,8 +618,13 @@ __SYSCALL(__NR_migrate_pages, sys_migrate_pages)
__SYSCALL(__NR_move_pages, sys_move_pages)
#endif
+#define __NR_rt_tgsigqueueinfo 240
+__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
+#define __NR_perf_counter_open 241
+__SYSCALL(__NR_perf_counter_open, sys_perf_counter_open)
+
#undef __NR_syscalls
-#define __NR_syscalls 240
+#define __NR_syscalls 242
/*
* All syscalls below here should go away really,