diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-06-04 05:05:03 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 10:48:23 (GMT) |
commit | b553a1e0ff48bd66fd18f705370e47c0b4ecea61 (patch) | |
tree | 016f526dcf9b9bc63efbfd7abaf755f27118ac11 /arch | |
parent | 78e622705c69da9649ba87071d8de85054b62df8 (diff) | |
download | linux-b553a1e0ff48bd66fd18f705370e47c0b4ecea61.tar.xz |
x86: remove cpu from maps
during cpu disable, take cpus out of all maps in i386, instead
of just the online map.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index b99c386..820c23d 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1319,13 +1319,11 @@ __init void prefill_possible_map(void) static void __ref remove_cpu_from_maps(int cpu) { cpu_clear(cpu, cpu_online_map); -#ifdef CONFIG_X86_64 cpu_clear(cpu, cpu_callout_map); cpu_clear(cpu, cpu_callin_map); /* was set by cpu_init() */ clear_bit(cpu, (unsigned long *)&cpu_initialized); numa_remove_cpu(cpu); -#endif } int __cpu_disable(void) |