X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fm68k%2Fkernel%2Fsys_m68k.c;h=7f54efaf60bb12a0b980a0e05c3ae908f322e6d0;hb=2a5f2e3e6cd1ce9fb3f8b186b6bc9aa1f1497a92;hp=90238a8c9e14996cf48daca92b083390c703e6a4;hpb=12dce6263d43daeb4e16fa4eb964c1c99fa4fa2e;p=linux-2.6 diff --git a/arch/m68k/kernel/sys_m68k.c b/arch/m68k/kernel/sys_m68k.c index 90238a8c9e..7f54efaf60 100644 --- a/arch/m68k/kernel/sys_m68k.c +++ b/arch/m68k/kernel/sys_m68k.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -20,32 +21,15 @@ #include #include #include +#include #include #include #include #include -#include #include #include -/* - * 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; -} - /* common code for old and new mmaps */ static inline long do_mmap2( unsigned long addr, unsigned long len,