diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 19:34:50 +0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 04:04:51 +0400 |
commit | 55b8cab49dd43d227f0dd49e3524406fdc46d37b (patch) | |
tree | d12ddec7ae2ee5f0dd2d8dbea84ec834a0f42c53 /arch/mips/mm/c-octeon.c | |
parent | 7ce1df49e1b1b004ff15fb0af9a02c6b1ff71f70 (diff) | |
download | linux-55b8cab49dd43d227f0dd49e3524406fdc46d37b.tar.xz |
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 'arch/mips/mm/c-octeon.c')
-rw-r--r-- | arch/mips/mm/c-octeon.c | 2 |
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); |