]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: use cpu_clear in remove_cpu_from_maps
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 18 Jul 2008 04:50:23 +0000 (21:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 10:20:28 +0000 (12:20 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c

index 687376ab07e82ece4ab1eeb609d738d76245d226..27456574f070eb4b22c1aca6e95feee5949bdf7a 100644 (file)
@@ -1311,7 +1311,7 @@ static void __ref remove_cpu_from_maps(int cpu)
        cpu_clear(cpu, cpu_callout_map);
        cpu_clear(cpu, cpu_callin_map);
        /* was set by cpu_init() */
-       clear_bit(cpu, (unsigned long *)&cpu_initialized);
+       cpu_clear(cpu, cpu_initialized);
        numa_remove_cpu(cpu);
 }