From: Yinghai Lu Date: Fri, 18 Jul 2008 04:50:23 +0000 (-0700) Subject: x86: use cpu_clear in remove_cpu_from_maps X-Git-Tag: v2.6.27-rc1~955^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=29cbeb0e17d9d2ca824f62f71cfa7360b3157112;p=linux-2.6-omap-h63xx.git x86: use cpu_clear in remove_cpu_from_maps Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 687376ab07e..27456574f07 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) 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); }