aboutsummaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/topology.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-03-22 06:09:31 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-22 06:09:31 -0500
commit949ec2c8e6b7b89179b85baf6309c009e1a1b951 (patch)
tree2d9c3dde17ba8608aa07e96e6fffcc23f1cab39c /arch/ia64/kernel/topology.c
parent55cca65e1995ad604ee87e22c76c17d5cbceb9d0 (diff)
parente952f31bce6e9f64db01f607abc46529ba57ac9e (diff)
Merge branch 'master'
Diffstat (limited to 'arch/ia64/kernel/topology.c')
-rw-r--r--arch/ia64/kernel/topology.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c
index 6e5eea19fa6..3b6fd798c4d 100644
--- a/arch/ia64/kernel/topology.c
+++ b/arch/ia64/kernel/topology.c
@@ -36,7 +36,7 @@ int arch_register_cpu(int num)
parent = &sysfs_nodes[cpu_to_node(num)];
#endif /* CONFIG_NUMA */
-#ifdef CONFIG_ACPI
+#if defined (CONFIG_ACPI) && defined (CONFIG_HOTPLUG_CPU)
/*
* If CPEI cannot be re-targetted, and this is
* CPEI target, then dont create the control file