X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fpipe.c;h=3a48ba5179d55000e4d6b26f5a1eb7bfb5a5891d;hb=1024d1c24bb3f2c4dc568d96d3b5e22ea5865481;hp=891697112f6620c9d25f4c080f2654962b45d1b9;hpb=d9be28ea9110c596a05bd2d56afa94251bd19818;p=~andy%2Flinux diff --git a/fs/pipe.c b/fs/pipe.c index 891697112f6..3a48ba5179d 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); }