Re: [PATCH] x86: use cpu_clear in remove_cpu_from_maps

From: Ingo Molnar
Date: Fri Jul 18 2008 - 06:21:31 EST



* Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:

> --- linux-2.6.orig/arch/x86/kernel/smpboot.c
> +++ linux-2.6/arch/x86/kernel/smpboot.c
> @@ -1310,7 +1310,7 @@ static void __ref remove_cpu_from_maps(i
> 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);

applied, thanks Yinghai.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/