diff options
Diffstat (limited to 'arch/blackfin/kernel/sys_bfin.c')
-rw-r--r-- | arch/blackfin/kernel/sys_bfin.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/blackfin/kernel/sys_bfin.c b/arch/blackfin/kernel/sys_bfin.c index efb7b25a2633..fce49d7cf001 100644 --- a/arch/blackfin/kernel/sys_bfin.c +++ b/arch/blackfin/kernel/sys_bfin.c | |||
@@ -45,23 +45,6 @@ | |||
45 | #include <asm/cacheflush.h> | 45 | #include <asm/cacheflush.h> |
46 | #include <asm/dma.h> | 46 | #include <asm/dma.h> |
47 | 47 | ||
48 | /* | ||
49 | * sys_pipe() is the normal C calling standard for creating | ||
50 | * a pipe. It's not the way unix traditionally does this, though. | ||
51 | */ | ||
52 | asmlinkage int sys_pipe(unsigned long __user *fildes) | ||
53 | { | ||
54 | int fd[2]; | ||
55 | int error; | ||
56 | |||
57 | error = do_pipe(fd); | ||
58 | if (!error) { | ||
59 | if (copy_to_user(fildes, fd, 2 * sizeof(int))) | ||
60 | error = -EFAULT; | ||
61 | } | ||
62 | return error; | ||
63 | } | ||
64 | |||
65 | /* common code for old and new mmaps */ | 48 | /* common code for old and new mmaps */ |
66 | static inline long | 49 | static inline long |
67 | do_mmap2(unsigned long addr, unsigned long len, | 50 | do_mmap2(unsigned long addr, unsigned long len, |