summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-14 13:50:33 +1000
committerPaul Mackerras <paulus@samba.org>2007-05-17 21:11:13 +1000
commit3692b9444b15ad12e5ec56ec77b1009bb75f8d42 (patch)
treef3d2b480f5dbfc68cd8158405cb7454a7f44efcc
parent7c40542ffaa20e361f5f37d112aba41a725fc759 (diff)
downloadlinux-3692b9444b15ad12e5ec56ec77b1009bb75f8d42.tar.gz
linux-3692b9444b15ad12e5ec56ec77b1009bb75f8d42.tar.bz2
linux-3692b9444b15ad12e5ec56ec77b1009bb75f8d42.zip
[POWERPC] Wire up some more syscalls
signalfd, timerfd and eventfd Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--include/asm-powerpc/systbl.h3
-rw-r--r--include/asm-powerpc/unistd.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/systbl.h
index 3d44446fb74f..700ca5928741 100644
--- a/include/asm-powerpc/systbl.h
+++ b/include/asm-powerpc/systbl.h
@@ -308,3 +308,6 @@ COMPAT_SYS_SPU(move_pages)
SYSCALL_SPU(getcpu)
COMPAT_SYS(epoll_pwait)
COMPAT_SYS_SPU(utimensat)
+COMPAT_SYS_SPU(signalfd)
+COMPAT_SYS_SPU(timerfd)
+SYSCALL_SPU(eventfd)
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h
index 908dfe4c2bfa..e3c28dc31abf 100644
--- a/include/asm-powerpc/unistd.h
+++ b/include/asm-powerpc/unistd.h
@@ -327,10 +327,13 @@
#define __NR_getcpu 302
#define __NR_epoll_pwait 303
#define __NR_utimensat 304
+#define __NR_signalfd 305
+#define __NR_timerfd 306
+#define __NR_eventfd 307
#ifdef __KERNEL__
-#define __NR_syscalls 305
+#define __NR_syscalls 308
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls