diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-15 23:41:47 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-15 23:41:47 -0400 |
commit | b9d65c04773850ff3a82f69d43981be650e658a1 (patch) | |
tree | 197a6a02a13b0a51470a85c5fd91160a42a621fa /arch/cris/arch-v32/mm | |
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')
-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 55ade36fe8a8..6779bcb28ab0 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, | |||
185 | /* Make sure there is a MMU context. */ | 185 | /* Make sure there is a MMU context. */ |
186 | spin_lock(&mmu_context_lock); | 186 | spin_lock(&mmu_context_lock); |
187 | get_mmu_context(next); | 187 | get_mmu_context(next); |
188 | cpu_set(cpu, next->cpu_vm_mask); | 188 | cpumask_set_cpu(cpu, mm_cpumask(next)); |
189 | spin_unlock(&mmu_context_lock); | 189 | spin_unlock(&mmu_context_lock); |
190 | 190 | ||
191 | /* | 191 | /* |