diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-08 00:53:00 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-08 00:53:00 +0000 |
commit | b8553086288629b4efb77e97f5582e08bc50ad65 (patch) | |
tree | 0a19bd1c21e148f35c7a0f76baa4f7a056b966b0 /arch/mips64/kernel/syscall.c | |
parent | 75b6d92f2dd5112b02f4e78cf9f35f9825946ef0 (diff) |
Merge with 2.4.0-test3-pre4.
Diffstat (limited to 'arch/mips64/kernel/syscall.c')
-rw-r--r-- | arch/mips64/kernel/syscall.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips64/kernel/syscall.c b/arch/mips64/kernel/syscall.c index 8f90aad88..10559378a 100644 --- a/arch/mips64/kernel/syscall.c +++ b/arch/mips64/kernel/syscall.c @@ -36,7 +36,6 @@ asmlinkage int sys_pipe(abi64_no_regargs, struct pt_regs regs) int fd[2]; int error, res; - lock_kernel(); error = do_pipe(fd); if (error) { res = error; @@ -45,7 +44,6 @@ asmlinkage int sys_pipe(abi64_no_regargs, struct pt_regs regs) regs.regs[3] = fd[1]; res = fd[0]; out: - unlock_kernel(); return res; } @@ -56,7 +54,6 @@ sys_mmap(unsigned long addr, size_t len, unsigned long prot, struct file * file = NULL; unsigned long error = -EFAULT; - lock_kernel(); if (!(flags & MAP_ANONYMOUS)) { error = -EBADF; file = fget(fd); @@ -71,7 +68,6 @@ sys_mmap(unsigned long addr, size_t len, unsigned long prot, if (file) fput(file); out: - unlock_kernel(); return error; } |