]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/sys_i386_32.c
x86: make init_ISA_irqs() static
[linux-2.6] / arch / x86 / kernel / sys_i386_32.c
index f8bae9ba0324b44fb510f5a323c6986f08452bdd..d2ab52cc1d6b17fa5ff72ef4e5b6111acc6903f5 100644 (file)
 #include <linux/mman.h>
 #include <linux/file.h>
 #include <linux/utsname.h>
+#include <linux/ipc.h>
 
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
-#include <asm/ipc.h>
-
-/*
- * sys_pipe() is the normal C calling standard for creating
- * a pipe. It's not the way Unix traditionally does this, though.
- */
-asmlinkage int sys_pipe(unsigned long __user * fildes)
-{
-       int fd[2];
-       int error;
-
-       error = do_pipe(fd);
-       if (!error) {
-               if (copy_to_user(fildes, fd, 2*sizeof(int)))
-                       error = -EFAULT;
-       }
-       return error;
-}
 
 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
                          unsigned long prot, unsigned long flags,