diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-17 21:50:23 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 12:20:28 +0200 |
commit | 29cbeb0e17d9d2ca824f62f71cfa7360b3157112 (patch) | |
tree | 737af24932008efaaadc1993b9b779133524ee13 /arch/x86 | |
parent | cd569ef5d6ff9f43e9504f1ffc7fdbe356518149 (diff) | |
download | op-kernel-dev-29cbeb0e17d9d2ca824f62f71cfa7360b3157112.zip op-kernel-dev-29cbeb0e17d9d2ca824f62f71cfa7360b3157112.tar.gz |
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')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 687376a..2745657 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); } |