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>
This commit is contained in:
parent
bfb9126def
commit
b6decb7079
3 changed files with 13 additions and 10 deletions
|
@ -313,7 +313,7 @@ int generic_cpu_disable(void)
|
|||
set_cpu_online(cpu, false);
|
||||
#ifdef CONFIG_PPC64
|
||||
vdso_data->processorCount--;
|
||||
fixup_irqs(cpu_online_map);
|
||||
fixup_irqs(cpu_online_mask);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
@ -333,7 +333,7 @@ int generic_cpu_enable(unsigned int cpu)
|
|||
cpu_relax();
|
||||
|
||||
#ifdef CONFIG_PPC64
|
||||
fixup_irqs(cpu_online_map);
|
||||
fixup_irqs(cpu_online_mask);
|
||||
/* counter the irq disable in fixup_irqs */
|
||||
local_irq_enable();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue