diff options
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/mmu_context.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mn10300/include/asm/mmu_context.h b/arch/mn10300/include/asm/mmu_context.h index a9e2e34f69b0..cb294c244de3 100644 --- a/arch/mn10300/include/asm/mmu_context.h +++ b/arch/mn10300/include/asm/mmu_context.h | |||
@@ -38,13 +38,13 @@ extern unsigned long mmu_context_cache[NR_CPUS]; | |||
38 | #define enter_lazy_tlb(mm, tsk) do {} while (0) | 38 | #define enter_lazy_tlb(mm, tsk) do {} while (0) |
39 | 39 | ||
40 | #ifdef CONFIG_SMP | 40 | #ifdef CONFIG_SMP |
41 | #define cpu_ran_vm(cpu, task) \ | 41 | #define cpu_ran_vm(cpu, mm) \ |
42 | cpu_set((cpu), (task)->cpu_vm_mask) | 42 | cpumask_set_cpu((cpu), mm_cpumask(mm)) |
43 | #define cpu_maybe_ran_vm(cpu, task) \ | 43 | #define cpu_maybe_ran_vm(cpu, mm) \ |
44 | cpu_test_and_set((cpu), (task)->cpu_vm_mask) | 44 | cpumask_test_and_set_cpu((cpu), mm_cpumask(mm)) |
45 | #else | 45 | #else |
46 | #define cpu_ran_vm(cpu, task) do {} while (0) | 46 | #define cpu_ran_vm(cpu, mm) do {} while (0) |
47 | #define cpu_maybe_ran_vm(cpu, task) true | 47 | #define cpu_maybe_ran_vm(cpu, mm) true |
48 | #endif /* CONFIG_SMP */ | 48 | #endif /* CONFIG_SMP */ |
49 | 49 | ||
50 | /* | 50 | /* |