summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 17:34:50 +0200
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 02:04:51 +0200
commit55b8cab49dd43d227f0dd49e3524406fdc46d37b (patch)
treed12ddec7ae2ee5f0dd2d8dbea84ec834a0f42c53 /arch/mips/mm
parentcpumask: use mm_cpumask() wrapper: mn10300 (diff)
downloadlinux-55b8cab49dd43d227f0dd49e3524406fdc46d37b.tar.xz
linux-55b8cab49dd43d227f0dd49e3524406fdc46d37b.zip
cpumask: use mm_cpumask() wrapper: mips
Makes code futureproof against the impending change to mm->cpu_vm_mask. It's also a chance to use the new cpumask_ ops which take a pointer (the older ones are deprecated, but there's no hurry for arch code). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to '')
-rw-r--r--arch/mips/mm/c-octeon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/c-octeon.c b/arch/mips/mm/c-octeon.c
index 10ab69f7183f..94e05e5733c1 100644
--- a/arch/mips/mm/c-octeon.c
+++ b/arch/mips/mm/c-octeon.c
@@ -79,7 +79,7 @@ static void octeon_flush_icache_all_cores(struct vm_area_struct *vma)
* cores it has been used on
*/
if (vma)
- mask = vma->vm_mm->cpu_vm_mask;
+ mask = *mm_cpumask(vma->vm_mm);
else
mask = cpu_online_map;
cpu_clear(cpu, mask);