summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYang Li <leoli@freescale.com>2009-12-14 06:01:49 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-12-18 06:54:27 +0300
commitf04b10cddb0fbceadbad7af38c31543298948d8f (patch)
treec2c00dd85d8bd867e787f72cfaa6003283ed1c56 /arch
parent5c3399198791f7f828eb9fd504dbb46eef3cb472 (diff)
downloadlinux-f04b10cddb0fbceadbad7af38c31543298948d8f.tar.xz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/mmu_context_nohash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mmu_context_nohash.c b/arch/powerpc/mm/mmu_context_nohash.c
index be4f34c30a0b..1044a634b6d0 100644
--- a/arch/powerpc/mm/mmu_context_nohash.c
+++ b/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;