aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 12:13:06 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:56 -0400
commite9a6cb96fafa4d4df2033ab6cf9c817f6f47e052 (patch)
tree5c172cae5bc9314f093f28db995aaec28ab44747
parent045f9d22029e94d6609d46f8ee07c63f4693dfb3 (diff)
x86: do not clear cpu_online_map
it was already cleared two lines above, and so, this removal is bogus Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/smpboot_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index 4939b3a01b24..3d21c663aa76 100644
--- a/arch/x86/kernel/smpboot_32.c
+++ b/arch/x86/kernel/smpboot_32.c
@@ -1073,8 +1073,7 @@ int __cpu_disable(void)
1073 1073
1074 remove_cpu_from_maps(cpu); 1074 remove_cpu_from_maps(cpu);
1075 fixup_irqs(map); 1075 fixup_irqs(map);
1076 /* It's now safe to remove this processor from the online map */ 1076
1077 cpu_clear(cpu, cpu_online_map);
1078 return 0; 1077 return 0;
1079} 1078}
1080 1079