From b8553086288629b4efb77e97f5582e08bc50ad65 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 8 Jul 2000 00:53:00 +0000 Subject: Merge with 2.4.0-test3-pre4. --- arch/mips64/kernel/syscall.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arch/mips64/kernel/syscall.c') 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; } -- cgit v1.2.3