Browse Source

powerpc/mm: Fix typo of cpumask_clear_cpu()

The function name of cpumask_clear_cpu was not correct. Fortunately
nobody uses that code with hotplug yet :-)

Reported-by: Jin Qing <b24347@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Yang Li 15 years ago
parent
commit
f04b10cddb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/powerpc/mm/mmu_context_nohash.c

+ 1 - 1
arch/powerpc/mm/mmu_context_nohash.c

@@ -353,7 +353,7 @@ static int __cpuinit mmu_context_cpu_notify(struct notifier_block *self,
 		read_lock(&tasklist_lock);
 		for_each_process(p) {
 			if (p->mm)
-				cpu_mask_clear_cpu(cpu, mm_cpumask(p->mm));
+				cpumask_clear_cpu(cpu, mm_cpumask(p->mm));
 		}
 		read_unlock(&tasklist_lock);
 	break;