diff options
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 09db1bb9ec91..4ce0105c308e 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -117,11 +117,6 @@ int of_workarounds; | |||
117 | #define prom_debug(x...) | 117 | #define prom_debug(x...) |
118 | #endif | 118 | #endif |
119 | 119 | ||
120 | #ifdef CONFIG_PPC32 | ||
121 | #define PLATFORM_POWERMAC _MACH_Pmac | ||
122 | #define PLATFORM_CHRP _MACH_chrp | ||
123 | #endif | ||
124 | |||
125 | 120 | ||
126 | typedef u32 prom_arg_t; | 121 | typedef u32 prom_arg_t; |
127 | 122 | ||
@@ -2078,7 +2073,8 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4, | |||
2078 | /* | 2073 | /* |
2079 | * On pSeries, inform the firmware about our capabilities | 2074 | * On pSeries, inform the firmware about our capabilities |
2080 | */ | 2075 | */ |
2081 | if (RELOC(of_platform) & PLATFORM_PSERIES) | 2076 | if (RELOC(of_platform) == PLATFORM_PSERIES || |
2077 | RELOC(of_platform) == PLATFORM_PSERIES_LPAR) | ||
2082 | prom_send_capabilities(); | 2078 | prom_send_capabilities(); |
2083 | #endif | 2079 | #endif |
2084 | 2080 | ||