[PATCH] powerpc: merge code values for identifying platforms
[linux-block.git] / arch / powerpc / kernel / traps.c
index 0578f838760301d2dd7c20c1294ba5459c07e4cd..2020bb7648fbc183f2f599ac6c834a2b4d7ed3f9 100644 (file)
@@ -129,7 +129,7 @@ int die(const char *str, struct pt_regs *regs, long err)
        nl = 1;
 #endif
 #ifdef CONFIG_PPC64
-       switch (systemcfg->platform) {
+       switch (_machine) {
        case PLATFORM_PSERIES:
                printk("PSERIES ");
                nl = 1;