powerpc: Wireup new syscalls

signalfd4, eventfd2, epoll_create1, dup3, pipe2 and inotify_init1

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Tony Breeds and committed by
Benjamin Herrenschmidt
973b7d83 1e3519f8

+14 -1
+1
include/asm-powerpc/syscalls.h
··· 31 31 unsigned long p3, unsigned long p4, unsigned long p5, 32 32 unsigned long p6, struct pt_regs *regs); 33 33 asmlinkage long sys_pipe(int __user *fildes); 34 + asmlinkage long sys_pipe2(int __user *fildes, int flags); 34 35 asmlinkage long sys_rt_sigaction(int sig, 35 36 const struct sigaction __user *act, 36 37 struct sigaction __user *oact, size_t sigsetsize);
+6
include/asm-powerpc/systbl.h
··· 316 316 SYSCALL(subpage_prot) 317 317 COMPAT_SYS_SPU(timerfd_settime) 318 318 COMPAT_SYS_SPU(timerfd_gettime) 319 + COMPAT_SYS_SPU(signalfd4) 320 + SYSCALL_SPU(eventfd2) 321 + SYSCALL_SPU(epoll_create1) 322 + SYSCALL_SPU(dup3) 323 + SYSCALL_SPU(pipe2) 324 + SYSCALL(inotify_init1)
+7 -1
include/asm-powerpc/unistd.h
··· 335 335 #define __NR_subpage_prot 310 336 336 #define __NR_timerfd_settime 311 337 337 #define __NR_timerfd_gettime 312 338 + #define __NR_signalfd4 313 339 + #define __NR_eventfd2 314 340 + #define __NR_epoll_create1 315 341 + #define __NR_dup3 316 342 + #define __NR_pipe2 317 343 + #define __NR_inotify_init1 318 338 344 339 345 #ifdef __KERNEL__ 340 346 341 - #define __NR_syscalls 313 347 + #define __NR_syscalls 319 342 348 343 349 #define __NR__exit __NR_exit 344 350 #define NR_syscalls __NR_syscalls