aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/smp.c')
-rw-r--r--arch/mips/kernel/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 432f2e376ae..63989e9df4f 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -379,7 +379,7 @@ void flush_tlb_mm(struct mm_struct *mm)
379 unsigned int cpu; 379 unsigned int cpu;
380 380
381 cpu_clear(smp_processor_id(), mask); 381 cpu_clear(smp_processor_id(), mask);
382 for_each_online_cpu(cpu) 382 for_each_cpu_mask(cpu, mask)
383 if (cpu_context(cpu, mm)) 383 if (cpu_context(cpu, mm))
384 cpu_context(cpu, mm) = 0; 384 cpu_context(cpu, mm) = 0;
385 } 385 }
@@ -419,7 +419,7 @@ void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned l
419 unsigned int cpu; 419 unsigned int cpu;
420 420
421 cpu_clear(smp_processor_id(), mask); 421 cpu_clear(smp_processor_id(), mask);
422 for_each_online_cpu(cpu) 422 for_each_cpu_mask(cpu, mask)
423 if (cpu_context(cpu, mm)) 423 if (cpu_context(cpu, mm))
424 cpu_context(cpu, mm) = 0; 424 cpu_context(cpu, mm) = 0;
425 } 425 }
@@ -466,7 +466,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
466 unsigned int cpu; 466 unsigned int cpu;
467 467
468 cpu_clear(smp_processor_id(), mask); 468 cpu_clear(smp_processor_id(), mask);
469 for_each_online_cpu(cpu) 469 for_each_cpu_mask(cpu, mask)
470 if (cpu_context(cpu, vma->vm_mm)) 470 if (cpu_context(cpu, vma->vm_mm))
471 cpu_context(cpu, vma->vm_mm) = 0; 471 cpu_context(cpu, vma->vm_mm) = 0;
472 } 472 }