patch-2.4.0-test3 linux/arch/sh/kernel/sys_sh.c
Next file: linux/arch/sparc/config.in
Previous file: linux/arch/sh/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Wed Jul 5 11:31:01 2000
- Orig file:
v2.4.0-test2/linux/arch/sh/kernel/sys_sh.c
- Orig date:
Tue Mar 7 14:32:25 2000
diff -u --recursive --new-file v2.4.0-test2/linux/arch/sh/kernel/sys_sh.c linux/arch/sh/kernel/sys_sh.c
@@ -35,9 +35,7 @@
int fd[2];
int error;
- lock_kernel();
error = do_pipe(fd);
- unlock_kernel();
if (!error) {
regs.regs[1] = fd[1];
return fd[0];
@@ -60,10 +58,7 @@
}
down(¤t->mm->mmap_sem);
- lock_kernel();
-
error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
- unlock_kernel();
up(¤t->mm->mmap_sem);
if (file)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)