ia64: remove CONFIG_ACPI ifdefs
[linux-2.6-block.git] / arch / ia64 / kernel / topology.c
index e311ee13e61d01536e79c431b2a830db93230a06..09fc385c2acd2ce0bc7fae3a9ffe05c1f1441427 100644 (file)
@@ -42,7 +42,6 @@ EXPORT_SYMBOL_GPL(arch_fix_phys_package_id);
 #ifdef CONFIG_HOTPLUG_CPU
 int __ref arch_register_cpu(int num)
 {
-#ifdef CONFIG_ACPI
        /*
         * If CPEI can be re-targeted or if this is not
         * CPEI target, then it is hotpluggable
@@ -50,7 +49,6 @@ int __ref arch_register_cpu(int num)
        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
        return register_cpu(&sysfs_cpus[num].cpu, num);
 }
 EXPORT_SYMBOL(arch_register_cpu);
@@ -58,9 +56,7 @@ EXPORT_SYMBOL(arch_register_cpu);
 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