patch-2.4.3 linux/arch/mips64/mm/umap.c
Next file: linux/arch/mips64/sgi-ip22/ip22-sc.c
Previous file: linux/arch/mips64/mm/fault.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Mar 19 12:35:10 2001
- Orig file:
v2.4.2/linux/arch/mips64/mm/umap.c
- Orig date:
Mon Aug 7 21:02:27 2000
diff -u --recursive --new-file v2.4.2/linux/arch/mips64/mm/umap.c linux/arch/mips64/mm/umap.c
@@ -89,7 +89,7 @@
unsigned long beg = start;
pgd_t *dir;
- down (&task->mm->mmap_sem);
+ down_write (&task->mm->mmap_sem);
dir = pgd_offset (task->mm, start);
flush_cache_range (task->mm, beg, end);
while (start < end){
@@ -98,7 +98,7 @@
dir++;
}
flush_tlb_range (task->mm, beg, end);
- up (&task->mm->mmap_sem);
+ up_write (&task->mm->mmap_sem);
}
void *vmalloc_uncached (unsigned long size)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)