]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/pipe.c
qlge: Optimize rx buffer refill process.
[linux-2.6-omap-h63xx.git] / fs / pipe.c
index 0c64db86c9198265cc7dfa88d9a2f71ca5628e74..3a48ba5179d55000e4d6b26f5a1eb7bfb5a5891d 100644 (file)
--- 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 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 sys_pipe2(int __user *fildes, int flags)
        return error;
 }
 
-asmlinkage long sys_pipe(int __user *fildes)
+SYSCALL_DEFINE1(pipe, int __user *, fildes)
 {
        return sys_pipe2(fildes, 0);
 }