git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
ia64
/
kernel
/
topology.c
diff --git
a/arch/ia64/kernel/topology.c
b/arch/ia64/kernel/topology.c
index
5629b45
..
687500d
100644
(file)
--- a/
arch/ia64/kernel/topology.c
+++ b/
arch/ia64/kernel/topology.c
@@
-31,11
+31,11
@@
int arch_register_cpu(int num)
{
#if defined (CONFIG_ACPI) && defined (CONFIG_HOTPLUG_CPU)
/*
{
#if defined (CONFIG_ACPI) && defined (CONFIG_HOTPLUG_CPU)
/*
- * If CPEI can
not be re-targetted, and this is
- * CPEI target, then
dont create the control fi
le
+ * If CPEI can
be re-targetted or if this is not
+ * CPEI target, then
it is hotpluggab
le
*/
*/
- if (
!can_cpei_retarget() &&
is_cpu_cpei_target(num))
- sysfs_cpus[num].cpu.
no_control
= 1;
+ if (
can_cpei_retarget() || !
is_cpu_cpei_target(num))
+ sysfs_cpus[num].cpu.
hotpluggable
= 1;
map_cpu_to_node(num, node_cpuid[num].nid);
#endif
map_cpu_to_node(num, node_cpuid[num].nid);
#endif