]> err.no Git - linux-2.6/blobdiff - arch/ia64/kernel/machine_kexec.c
[IA64] kexec: Fix CONFIG_SMP=n compilation
[linux-2.6] / arch / ia64 / kernel / machine_kexec.c
index e2ccc9f660c5730e1bbe77adc4f0cccafadbfdb7..714179587a7ae5a9464ee98fa1297794739b8de2 100644 (file)
@@ -70,12 +70,14 @@ void machine_kexec_cleanup(struct kimage *image)
 
 void machine_shutdown(void)
 {
+#ifdef CONFIG_HOTPLUG_CPU
        int cpu;
 
        for_each_online_cpu(cpu) {
                if (cpu != smp_processor_id())
                        cpu_down(cpu);
        }
+#endif
        kexec_disable_iosapic();
 }