patch-2.4.3 linux/arch/mips64/kernel/syscall.c
Next file: linux/arch/mips64/mm/fault.c
Previous file: linux/arch/mips64/kernel/mips64_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Mar 19 12:35:10 2001
- Orig file:
v2.4.2/linux/arch/mips64/kernel/syscall.c
- Orig date:
Tue Nov 28 21:42:04 2000
diff -u --recursive --new-file v2.4.2/linux/arch/mips64/kernel/syscall.c linux/arch/mips64/kernel/syscall.c
@@ -64,9 +64,9 @@
}
flags &= ~(MAP_EXECUTABLE | MAP_DENYWRITE);
- down(¤t->mm->mmap_sem);
+ down_write(¤t->mm->mmap_sem);
error = do_mmap(file, addr, len, prot, flags, offset);
- up(¤t->mm->mmap_sem);
+ up_write(¤t->mm->mmap_sem);
if (file)
fput(file);
out:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)