patch-2.4.3 linux/arch/arm/mm/fault-common.c
Next file: linux/arch/arm/mm/mm-rpc.c
Previous file: linux/arch/arm/mach-sa1100/arch.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/arm/mm/fault-common.c
- Orig date:
Wed Feb 21 18:20:10 2001
diff -u --recursive --new-file v2.4.2/linux/arch/arm/mm/fault-common.c linux/arch/arm/mm/fault-common.c
@@ -223,9 +223,9 @@
if (in_interrupt() || !mm)
goto no_context;
- down(&mm->mmap_sem);
+ down_read(&mm->mmap_sem);
fault = __do_page_fault(mm, addr, mode, tsk);
- up(&mm->mmap_sem);
+ up_read(&mm->mmap_sem);
ret:
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)