summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-07-11 22:42:58 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-07-11 22:42:58 +0400
commit73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc (patch)
tree79c81babb78c36f94f677ee587ab884903fffa12 /arch/arm/kernel
parente11b2236eace94ad9a2e421904742e83976405ed (diff)
downloadlinux-73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc.tar.xz
[PATCH] ARM SMP: Initialise cpu_present_map
Rather than relying on the fixup code in init/main.c, explicitly initialise cpu_present_map. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 78c24a1266b1..7ae45c3fc834 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -236,6 +236,7 @@ void __init smp_prepare_boot_cpu(void)
unsigned int cpu = smp_processor_id();
cpu_set(cpu, cpu_possible_map);
+ cpu_set(cpu, cpu_present_map);
cpu_set(cpu, cpu_online_map);
}