X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fpipe.c;h=3a48ba5179d55000e4d6b26f5a1eb7bfb5a5891d;hb=94be9a58d7e683ac3c1df1858a17f09ebade8da0;hp=891697112f6620c9d25f4c080f2654962b45d1b9;hpb=d12418fdeafdc08dd5bbec89d3e07e47ee75da55;p=pandora-kernel.git diff --git a/fs/pipe.c b/fs/pipe.c index 891697112f66..3a48ba5179d5 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -1043,7 +1043,7 @@ int do_pipe(int *fd) * sys_pipe() is the normal C calling standard for creating * a pipe. It's not the way Unix traditionally does this, though. */ -asmlinkage long __weak sys_pipe2(int __user *fildes, int flags) +SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) { int fd[2]; int error; @@ -1059,7 +1059,7 @@ asmlinkage long __weak sys_pipe2(int __user *fildes, int flags) return error; } -asmlinkage long __weak sys_pipe(int __user *fildes) +SYSCALL_DEFINE1(pipe, int __user *, fildes) { return sys_pipe2(fildes, 0); }