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:
6882edc
)
[IA64] Clear up section mismatch with arch_unregister_cpu()
author
Robin Holt
<
[email protected]
>
Mon, 8 Dec 2008 14:43:46 +0000
(08:43 -0600)
committer
Tony Luck
<
[email protected]
>
Tue, 9 Dec 2008 18:08:44 +0000
(10:08 -0800)
The generic_defconfig has three section mismatches. This clears
arch_unregister_cpu()
Signed-off-by: Robin Holt <
[email protected]
>
Signed-off-by: Jack Steiner <
[email protected]
>
Signed-off-by: Tony Luck <
[email protected]
>
arch/ia64/kernel/topology.c
patch
|
blob
|
history
diff --git
a/arch/ia64/kernel/topology.c
b/arch/ia64/kernel/topology.c
index 26228e2d01ae472bcab1e5917b0c973d826f6f3a..c75b914f2d6bb587c413990663e864f573c9368a 100644
(file)
--- a/
arch/ia64/kernel/topology.c
+++ b/
arch/ia64/kernel/topology.c
@@
-53,10
+53,12
@@
int __ref arch_register_cpu(int num)
}
EXPORT_SYMBOL(arch_register_cpu);
-void arch_unregister_cpu(int num)
+void
__ref
arch_unregister_cpu(int num)
{
unregister_cpu(&sysfs_cpus[num].cpu);
+#ifdef CONFIG_ACPI
unmap_cpu_from_node(num, cpu_to_node(num));
+#endif
}
EXPORT_SYMBOL(arch_unregister_cpu);
#else