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) | |
download | kernel_samsung_smdk4412-b9d65c04773850ff3a82f69d43981be650e658a1.zip kernel_samsung_smdk4412-b9d65c04773850ff3a82f69d43981be650e658a1.tar.gz kernel_samsung_smdk4412-b9d65c04773850ff3a82f69d43981be650e658a1.tar.bz2 |
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 55ade36..6779bcb 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); /* |