diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-05-28 14:16:52 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-28 14:16:52 +0100 |
commit | e03cdade0ca945a04e982525e50fef275190b77b (patch) | |
tree | 0e3fa1069018bff6f332abd06d969cf2a89ff5d0 /arch/arm/kernel | |
parent | af73110d23fb54f940197d93a410e9fa0cee66e2 (diff) | |
download | kernel_goldelico_gta04-e03cdade0ca945a04e982525e50fef275190b77b.zip kernel_goldelico_gta04-e03cdade0ca945a04e982525e50fef275190b77b.tar.gz kernel_goldelico_gta04-e03cdade0ca945a04e982525e50fef275190b77b.tar.bz2 |
[ARM] smp: use new cpumask functions
Convert cpu_*_mask bit twiddling to the new set_cpu_*() API.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 91130e2..0d8097f 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -166,7 +166,7 @@ int __cpuexit __cpu_disable(void) * Take this CPU offline. Once we clear this, we can't return, * and we must not schedule until we're ready to give up the cpu. */ - cpu_clear(cpu, cpu_online_map); + set_cpu_online(cpu, false); /* * OK - migrate IRQs away from this CPU @@ -288,7 +288,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void) /* * OK, now it's safe to let the boot CPU continue */ - cpu_set(cpu, cpu_online_map); + set_cpu_online(cpu, true); /* * OK, it's off to the idle thread for us @@ -462,7 +462,7 @@ static void ipi_cpu_stop(unsigned int cpu) dump_stack(); spin_unlock(&stop_lock); - cpu_clear(cpu, cpu_online_map); + set_cpu_online(cpu, false); local_fiq_disable(); local_irq_disable(); |