X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fm68knommu%2Fkernel%2Fsys_m68k.c;h=70028163862981e5ce0f7082a737b97f73f88163;hb=8be1a6d6c77ab4532e4476fdb8177030ef48b52c;hp=3265b2d734dbb8b9fc37659475d4863506b86015;hpb=9cdf083f981b8d37b3212400a359368661385099;p=linux-2.6 diff --git a/arch/m68knommu/kernel/sys_m68k.c b/arch/m68knommu/kernel/sys_m68k.c index 3265b2d734..7002816386 100644 --- a/arch/m68knommu/kernel/sys_m68k.c +++ b/arch/m68knommu/kernel/sys_m68k.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -19,32 +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,