[PATCH] [POWERPC] Wire up some more syscalls
From: Stephen Rothwell <hidden>
Date: 2007-05-14 03:50:35
Subsystem:
the rest · Maintainer:
Linus Torvalds
signalfd, timerfd and eventfd Signed-off-by: Stephen Rothwell <redacted> --- include/asm-powerpc/systbl.h | 3 +++ include/asm-powerpc/unistd.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletions(-) This depends on the patch I just sent to declare compat_sys_signalfd and compat_sys_timerfd. And I am assuming that the SPU's want these. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au
diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/systbl.h
index 3d44446..700ca59 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 21f004a..912e009 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
--
1.5.1.4