OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Call find_vma with the mmap_sem held
[uclinux-h8/linux.git]
/
arch
/
mips
/
mm
/
c-octeon.c
diff --git
a/arch/mips/mm/c-octeon.c
b/arch/mips/mm/c-octeon.c
index
f41a5c5
..
05b1d7c
100644
(file)
--- a/
arch/mips/mm/c-octeon.c
+++ b/
arch/mips/mm/c-octeon.c
@@
-137,8
+137,10
@@
static void octeon_flush_cache_sigtramp(unsigned long addr)
{
struct vm_area_struct *vma;
+ down_read(¤t->mm->mmap_sem);
vma = find_vma(current->mm, addr);
octeon_flush_icache_all_cores(vma);
+ up_read(¤t->mm->mmap_sem);
}