aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorYang Li <leoli@freescale.com>2009-12-14 03:01:49 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-12-18 14:54:27 +1100
commitf04b10cddb0fbceadbad7af38c31543298948d8f (patch)
treec2c00dd85d8bd867e787f72cfaa6003283ed1c56 /arch/powerpc
parent5c3399198791f7f828eb9fd504dbb46eef3cb472 (diff)
downloadkernel_goldelico_gta04-f04b10cddb0fbceadbad7af38c31543298948d8f.zip
kernel_goldelico_gta04-f04b10cddb0fbceadbad7af38c31543298948d8f.tar.gz
kernel_goldelico_gta04-f04b10cddb0fbceadbad7af38c31543298948d8f.tar.bz2
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/powerpc')
-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 be4f34c..1044a63 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;