patch-2.4.3 linux/arch/s390x/kernel/linux32.c
Next file: linux/arch/s390x/kernel/sys_s390.c
Previous file: linux/arch/s390x/kernel/exec32.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Mar 19 12:35:11 2001
- Orig file:
v2.4.2/linux/arch/s390x/kernel/linux32.c
- Orig date:
Wed Feb 21 18:20:14 2001
diff -u --recursive --new-file v2.4.2/linux/arch/s390x/kernel/linux32.c linux/arch/s390x/kernel/linux32.c
@@ -4184,9 +4184,9 @@
goto out;
}
- down(¤t->mm->mmap_sem);
+ down_write(¤t->mm->mmap_sem);
error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
- up(¤t->mm->mmap_sem);
+ up_write(¤t->mm->mmap_sem);
if (file)
fput(file);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)