aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-13 23:50:33 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-17 07:11:13 -0400
commit3692b9444b15ad12e5ec56ec77b1009bb75f8d42 (patch)
treef3d2b480f5dbfc68cd8158405cb7454a7f44efcc
parent7c40542ffaa20e361f5f37d112aba41a725fc759 (diff)
[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)
308SYSCALL_SPU(getcpu) 308SYSCALL_SPU(getcpu)
309COMPAT_SYS(epoll_pwait) 309COMPAT_SYS(epoll_pwait)
310COMPAT_SYS_SPU(utimensat) 310COMPAT_SYS_SPU(utimensat)
311COMPAT_SYS_SPU(signalfd)
312COMPAT_SYS_SPU(timerfd)
313SYSCALL_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 @@
327#define __NR_getcpu 302 327#define __NR_getcpu 302
328#define __NR_epoll_pwait 303 328#define __NR_epoll_pwait 303
329#define __NR_utimensat 304 329#define __NR_utimensat 304
330#define __NR_signalfd 305
331#define __NR_timerfd 306
332#define __NR_eventfd 307
330 333
331#ifdef __KERNEL__ 334#ifdef __KERNEL__
332 335
333#define __NR_syscalls 305 336#define __NR_syscalls 308
334 337
335#define __NR__exit __NR_exit 338#define __NR__exit __NR_exit
336#define NR_syscalls __NR_syscalls 339#define NR_syscalls __NR_syscalls