diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-16 14:11:47 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-16 14:11:47 +1030 |
commit | b9d65c04773850ff3a82f69d43981be650e658a1 (patch) | |
tree | 197a6a02a13b0a51470a85c5fd91160a42a621fa /arch/cris/arch-v32/mm/tlb.c | |
parent | afc6ca01f6da831ff09f4dabdef3b50f114e9e1e (diff) |
cpumask: use mm_cpumask() wrapper: cris
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/cris/arch-v32/mm/tlb.c')
-rw-r--r-- | arch/cris/arch-v32/mm/tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/mm/tlb.c b/arch/cris/arch-v32/mm/tlb.c index 55ade36fe8a..6779bcb28ab 100644 --- a/arch/cris/arch-v32/mm/tlb.c +++ b/arch/cris/arch-v32/mm/tlb.c @@ -185,7 +185,7 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, /* Make sure there is a MMU context. */ spin_lock(&mmu_context_lock); get_mmu_context(next); - cpu_set(cpu, next->cpu_vm_mask); + cpumask_set_cpu(cpu, mm_cpumask(next)); spin_unlock(&mmu_context_lock); /* |