aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-15 17:52:13 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-15 17:52:13 -0700
commitd6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 (patch)
treee31e6ec7a1d9e8f6bbf8cdee2692eb42f4869f47
parent38d84c3bd6dd22bdb1f797c87006931133d71aea (diff)
parent46906c4415f88cebfad530917bada0835d651824 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
-rw-r--r--arch/ia64/kernel/topology.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c
index d8030f3bd86..92ff46ad21e 100644
--- a/arch/ia64/kernel/topology.c
+++ b/arch/ia64/kernel/topology.c
@@ -36,12 +36,14 @@ int arch_register_cpu(int num)
parent = &sysfs_nodes[cpu_to_node(num)];
#endif /* CONFIG_NUMA */
+#ifdef CONFIG_ACPI_BOOT
/*
* If CPEI cannot be re-targetted, and this is
* CPEI target, then dont create the control file
*/
if (!can_cpei_retarget() && is_cpu_cpei_target(num))
sysfs_cpus[num].cpu.no_control = 1;
+#endif
return register_cpu(&sysfs_cpus[num].cpu, num, parent);
}