projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd569ef
)
x86: use cpu_clear in remove_cpu_from_maps
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Fri, 18 Jul 2008 04:50:23 +0000
(21:50 -0700)
committer
Ingo 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/smpboot.c
b/arch/x86/kernel/smpboot.c
index 687376ab07e82ece4ab1eeb609d738d76245d226..27456574f070eb4b22c1aca6e95feee5949bdf7a 100644
(file)
--- 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() */
- c
lear_bit(cpu, (unsigned long *)&
cpu_initialized);
+ c
pu_clear(cpu,
cpu_initialized);
numa_remove_cpu(cpu);
}