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/mach-realview/platsmp.c | |
parent | af73110d23fb54f940197d93a410e9fa0cee66e2 (diff) | |
download | blackbird-op-linux-e03cdade0ca945a04e982525e50fef275190b77b.tar.gz blackbird-op-linux-e03cdade0ca945a04e982525e50fef275190b77b.zip |
[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/mach-realview/platsmp.c')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index c862ce19587e..ca742172ea78 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c @@ -166,7 +166,7 @@ void __init smp_init_cpus(void) unsigned int i, ncores = get_core_count(); for (i = 0; i < ncores; i++) - cpu_set(i, cpu_possible_map); + set_cpu_possible(i, true); } void __init smp_prepare_cpus(unsigned int max_cpus) @@ -204,7 +204,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) * actually populated at the present time. */ for (i = 0; i < max_cpus; i++) - cpu_set(i, cpu_present_map); + set_cpu_present(i, true); /* * Initialise the SCU if there are more than one CPU and let |