aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-04-26 11:32:35 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-05-06 03:16:14 -0400
commitb6decb707952c678d110699abb5ed86d45ca6927 (patch)
tree6e206cc19c9f6ac9358be30593866a8a057d508d /arch/powerpc/kernel/smp.c
parentbfb9126defa80cbed6d91ed9685b238b0d7e81c4 (diff)
powerpc/cpumask: Convert fixup_irqs to new cpumask API
Use new cpumask_* functions, and dynamically allocate cpumask in fixup_irqs. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r--arch/powerpc/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 17523a0abf66..62e82c25c583 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -313,7 +313,7 @@ int generic_cpu_disable(void)
313 set_cpu_online(cpu, false); 313 set_cpu_online(cpu, false);
314#ifdef CONFIG_PPC64 314#ifdef CONFIG_PPC64
315 vdso_data->processorCount--; 315 vdso_data->processorCount--;
316 fixup_irqs(cpu_online_map); 316 fixup_irqs(cpu_online_mask);
317#endif 317#endif
318 return 0; 318 return 0;
319} 319}
@@ -333,7 +333,7 @@ int generic_cpu_enable(unsigned int cpu)
333 cpu_relax(); 333 cpu_relax();
334 334
335#ifdef CONFIG_PPC64 335#ifdef CONFIG_PPC64
336 fixup_irqs(cpu_online_map); 336 fixup_irqs(cpu_online_mask);
337 /* counter the irq disable in fixup_irqs */ 337 /* counter the irq disable in fixup_irqs */
338 local_irq_enable(); 338 local_irq_enable();
339#endif 339#endif