diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-27 02:01:23 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-27 02:01:23 -0400 |
commit | ee372bc1c6ab2f411d098337936ebb994af264c4 (patch) | |
tree | 3da6a4451dd8832d99797caee31b8279634b1e36 /arch | |
parent | bc683a7e51c5c838bc74316125bebec92af74f12 (diff) |
powerpc/btext: Fix CONFIG_PPC_EARLY_DEBUG_BOOTX on ppc32
The "rmci" stuff only exists on 64-bit
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/btext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/btext.c b/arch/powerpc/kernel/btext.c index 0428992fdb4b..41c011cb6070 100644 --- a/arch/powerpc/kernel/btext.c +++ b/arch/powerpc/kernel/btext.c | |||
@@ -52,7 +52,7 @@ extern void rmci_off(void); | |||
52 | 52 | ||
53 | static inline void rmci_maybe_on(void) | 53 | static inline void rmci_maybe_on(void) |
54 | { | 54 | { |
55 | #ifdef CONFIG_PPC_EARLY_DEBUG_BOOTX | 55 | #if defined(CONFIG_PPC_EARLY_DEBUG_BOOTX) && defined(CONFIG_PPC64) |
56 | if (!(mfmsr() & MSR_DR)) | 56 | if (!(mfmsr() & MSR_DR)) |
57 | rmci_on(); | 57 | rmci_on(); |
58 | #endif | 58 | #endif |
@@ -60,7 +60,7 @@ static inline void rmci_maybe_on(void) | |||
60 | 60 | ||
61 | static inline void rmci_maybe_off(void) | 61 | static inline void rmci_maybe_off(void) |
62 | { | 62 | { |
63 | #ifdef CONFIG_PPC_EARLY_DEBUG_BOOTX | 63 | #if defined(CONFIG_PPC_EARLY_DEBUG_BOOTX) && defined(CONFIG_PPC64) |
64 | if (!(mfmsr() & MSR_DR)) | 64 | if (!(mfmsr() & MSR_DR)) |
65 | rmci_off(); | 65 | rmci_off(); |
66 | #endif | 66 | #endif |