X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fm68knommu%2Fkernel%2Fsys_m68k.c;h=70028163862981e5ce0f7082a737b97f73f88163;hb=923a789b49c7269a0245d5af6afe486188d940df;hp=15d62c5279a95d91642391c5365d7cfa4922ca10;hpb=b7011d538625dd89f6b0785d9225c5726550f6f1;p=linux-2.6-omap-h63xx.git diff --git a/arch/m68knommu/kernel/sys_m68k.c b/arch/m68knommu/kernel/sys_m68k.c index 15d62c5279a..70028163862 100644 --- a/arch/m68knommu/kernel/sys_m68k.c +++ b/arch/m68knommu/kernel/sys_m68k.c @@ -18,33 +18,16 @@ #include #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 * 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,