From: Arnd Bergmann Date: Tue, 12 May 2009 20:19:37 +0000 (-0700) Subject: syscalls.h add the missing sys_pipe2 declaration X-Git-Tag: upstream/snapshot3+hdmi~18879 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecf4667d30dd63fa130e22f8f2da3e6ce003358b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git syscalls.h add the missing sys_pipe2 declaration In order to build the generic syscall table, we need a declaration for every system call. sys_pipe2 was added without a proper declaration, so add this to syscalls.h now. Signed-off-by: Arnd Bergmann Cc: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 40617c1..3052084 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -433,6 +433,7 @@ asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg); asmlinkage long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg); #endif +asmlinkage long sys_pipe2(int __user *fildes, int flags); asmlinkage long sys_dup(unsigned int fildes); asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd); asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags);