]> err.no Git - linux-2.6/blobdiff - arch/powerpc/kernel/crash_dump.c
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / powerpc / kernel / crash_dump.c
index ffa91d673ec8f8ec2776c5d62d9459865073b52d..29ff77c468ac77a3f8d3afdf81722aa46054673e 100644 (file)
@@ -54,8 +54,10 @@ void __init setup_kdump_trampoline(void)
                create_trampoline(i);
        }
 
+#ifdef CONFIG_PPC_PSERIES
        create_trampoline(__pa(system_reset_fwnmi) - PHYSICAL_START);
        create_trampoline(__pa(machine_check_fwnmi) - PHYSICAL_START);
+#endif /* CONFIG_PPC_PSERIES */
 
        DBG(" <- setup_kdump_trampoline()\n");
 }