aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-18 00:50:23 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-18 06:20:28 -0400
commit29cbeb0e17d9d2ca824f62f71cfa7360b3157112 (patch)
tree737af24932008efaaadc1993b9b779133524ee13 /arch/x86/kernel/smpboot.c
parentcd569ef5d6ff9f43e9504f1ffc7fdbe356518149 (diff)
x86: use cpu_clear in remove_cpu_from_maps
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 687376ab07e8..27456574f070 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1311,7 +1311,7 @@ static void __ref remove_cpu_from_maps(int cpu)
1311 cpu_clear(cpu, cpu_callout_map); 1311 cpu_clear(cpu, cpu_callout_map);
1312 cpu_clear(cpu, cpu_callin_map); 1312 cpu_clear(cpu, cpu_callin_map);
1313 /* was set by cpu_init() */ 1313 /* was set by cpu_init() */
1314 clear_bit(cpu, (unsigned long *)&cpu_initialized); 1314 cpu_clear(cpu, cpu_initialized);
1315 numa_remove_cpu(cpu); 1315 numa_remove_cpu(cpu);
1316} 1316}
1317 1317