diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-07-20 08:16:46 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-20 09:38:21 -0400 |
commit | 8213bbf9c1c0009872a3278aa7a83ec8f3508195 (patch) | |
tree | 1fd6d8e006f2ddd9bcc7396eab092a12dc16eace /arch/mips/kernel/syscall.c | |
parent | 4914ad4a9f2d484a68422700ba8493db73c7c411 (diff) |
[MIPS] Rename MIPS sys_pipe syscall entry point to something MIPS-specific.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r-- | arch/mips/kernel/syscall.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index af1bdc897488..3523c8d12eda 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c | |||
@@ -40,7 +40,14 @@ | |||
40 | #include <asm/sysmips.h> | 40 | #include <asm/sysmips.h> |
41 | #include <asm/uaccess.h> | 41 | #include <asm/uaccess.h> |
42 | 42 | ||
43 | asmlinkage int sys_pipe(nabi_no_regargs volatile struct pt_regs regs) | 43 | /* |
44 | * For historic reasons the pipe(2) syscall on MIPS has an unusual calling | ||
45 | * convention. It returns results in registers $v0 / $v1 which means there | ||
46 | * is no need for it to do verify the validity of a userspace pointer | ||
47 | * argument. Historically that used to be expensive in Linux. These days | ||
48 | * the performance advantage is negligible. | ||
49 | */ | ||
50 | asmlinkage int sysm_pipe(nabi_no_regargs volatile struct pt_regs regs) | ||
44 | { | 51 | { |
45 | int fd[2]; | 52 | int fd[2]; |
46 | int error, res; | 53 | int error, res; |