diff options
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 0578f8387603..1511454c4690 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #ifdef CONFIG_PPC64 | 49 | #ifdef CONFIG_PPC64 |
50 | #include <asm/firmware.h> | 50 | #include <asm/firmware.h> |
51 | #include <asm/processor.h> | 51 | #include <asm/processor.h> |
52 | #include <asm/systemcfg.h> | ||
53 | #endif | 52 | #endif |
54 | 53 | ||
55 | #ifdef CONFIG_PPC64 /* XXX */ | 54 | #ifdef CONFIG_PPC64 /* XXX */ |
@@ -129,7 +128,7 @@ int die(const char *str, struct pt_regs *regs, long err) | |||
129 | nl = 1; | 128 | nl = 1; |
130 | #endif | 129 | #endif |
131 | #ifdef CONFIG_PPC64 | 130 | #ifdef CONFIG_PPC64 |
132 | switch (systemcfg->platform) { | 131 | switch (_machine) { |
133 | case PLATFORM_PSERIES: | 132 | case PLATFORM_PSERIES: |
134 | printk("PSERIES "); | 133 | printk("PSERIES "); |
135 | nl = 1; | 134 | nl = 1; |