diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-05 13:51:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-05 13:51:57 -0500 |
commit | cef5076987dd545ac74f4efcf1c962be8eac34b0 (patch) | |
tree | d404e17d44665c39006d6a5f25cd6b02819a4772 /arch/x86_64 | |
parent | 5b7b644ca9a12396a46fad825a973fb8bed17102 (diff) |
Revert "[PATCH] x86_64: Fix the node cpumask of a cpu going down"
This reverts commit 10f4dc8b27ac42f930ac55adb8c521264dc997f8.
Quoth Andi Kleen:
"Kiran decided that it makes the problem worse than it was before.
Fixing it fully requires more work which is too much for 2.6.16. So
please revert that commit for now."
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 67e4e28f4df8..a28756ef7cef 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #include <asm/nmi.h> | 59 | #include <asm/nmi.h> |
60 | #include <asm/irq.h> | 60 | #include <asm/irq.h> |
61 | #include <asm/hw_irq.h> | 61 | #include <asm/hw_irq.h> |
62 | #include <asm/numa.h> | ||
63 | 62 | ||
64 | /* Number of siblings per CPU package */ | 63 | /* Number of siblings per CPU package */ |
65 | int smp_num_siblings = 1; | 64 | int smp_num_siblings = 1; |
@@ -891,7 +890,6 @@ do_rest: | |||
891 | if (boot_error) { | 890 | if (boot_error) { |
892 | cpu_clear(cpu, cpu_callout_map); /* was set here (do_boot_cpu()) */ | 891 | cpu_clear(cpu, cpu_callout_map); /* was set here (do_boot_cpu()) */ |
893 | clear_bit(cpu, &cpu_initialized); /* was set by cpu_init() */ | 892 | clear_bit(cpu, &cpu_initialized); /* was set by cpu_init() */ |
894 | clear_node_cpumask(cpu); /* was set by numa_add_cpu */ | ||
895 | cpu_clear(cpu, cpu_present_map); | 893 | cpu_clear(cpu, cpu_present_map); |
896 | cpu_clear(cpu, cpu_possible_map); | 894 | cpu_clear(cpu, cpu_possible_map); |
897 | x86_cpu_to_apicid[cpu] = BAD_APICID; | 895 | x86_cpu_to_apicid[cpu] = BAD_APICID; |
@@ -1189,7 +1187,6 @@ void remove_cpu_from_maps(void) | |||
1189 | cpu_clear(cpu, cpu_callout_map); | 1187 | cpu_clear(cpu, cpu_callout_map); |
1190 | cpu_clear(cpu, cpu_callin_map); | 1188 | cpu_clear(cpu, cpu_callin_map); |
1191 | clear_bit(cpu, &cpu_initialized); /* was set by cpu_init() */ | 1189 | clear_bit(cpu, &cpu_initialized); /* was set by cpu_init() */ |
1192 | clear_node_cpumask(cpu); | ||
1193 | } | 1190 | } |
1194 | 1191 | ||
1195 | int __cpu_disable(void) | 1192 | int __cpu_disable(void) |