From 3692b9444b15ad12e5ec56ec77b1009bb75f8d42 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 14 May 2007 13:50:33 +1000 Subject: [PATCH] [POWERPC] Wire up some more syscalls signalfd, timerfd and eventfd Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- include/asm-powerpc/systbl.h | 3 +++ include/asm-powerpc/unistd.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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