patch-2.4.0-test3 linux/arch/i386/kernel/sys_i386.c
Next file: linux/arch/i386/kernel/time.c
Previous file: linux/arch/i386/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Wed Jul 5 11:31:00 2000
- Orig file:
v2.4.0-test2/linux/arch/i386/kernel/sys_i386.c
- Orig date:
Fri Jan 28 15:09:07 2000
diff -u --recursive --new-file v2.4.0-test2/linux/arch/i386/kernel/sys_i386.c linux/arch/i386/kernel/sys_i386.c
@@ -31,9 +31,7 @@
int fd[2];
int error;
- lock_kernel();
error = do_pipe(fd);
- unlock_kernel();
if (!error) {
if (copy_to_user(fildes, fd, 2*sizeof(int)))
error = -EFAULT;
@@ -58,11 +56,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)