aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 09:29:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-05-21 14:32:14 +0900
commit26bbfda8b1a4d491a86c60b3a97948a4f49fb86a (patch)
tree34410ca6fc6f048c45acac9fc197044881434798
parentsh: revert addition of page fault notifiers (diff)
downloadlinux-dev-26bbfda8b1a4d491a86c60b3a97948a4f49fb86a.tar.xz
linux-dev-26bbfda8b1a4d491a86c60b3a97948a4f49fb86a.zip
sh: Wire up signalfd/timerfd/eventfd syscalls.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/syscalls.S3
-rw-r--r--include/asm-sh/unistd.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/sh/kernel/syscalls.S b/arch/sh/kernel/syscalls.S
index 4357d1a6358f..7db1c2dc5992 100644
--- a/arch/sh/kernel/syscalls.S
+++ b/arch/sh/kernel/syscalls.S
@@ -355,3 +355,6 @@ ENTRY(sys_call_table)
.long sys_getcpu
.long sys_epoll_pwait
.long sys_utimensat /* 320 */
+ .long sys_signalfd
+ .long sys_timerfd
+ .long sys_eventfd
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h
index af71e379a5ee..77bcb09d6ac8 100644
--- a/include/asm-sh/unistd.h
+++ b/include/asm-sh/unistd.h
@@ -329,8 +329,11 @@
#define __NR_getcpu 318
#define __NR_epoll_pwait 319
#define __NR_utimensat 320
+#define __NR_signalfd 321
+#define __NR_timerfd 322
+#define __NR_eventfd 323
-#define NR_syscalls 321
+#define NR_syscalls 324
#ifdef __KERNEL__