powerpc/btext: Fix CONFIG_PPC_EARLY_DEBUG_BOOTX on ppc32

The "rmci" stuff only exists on 64-bit
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent bc683a7e
...@@ -52,7 +52,7 @@ extern void rmci_off(void); ...@@ -52,7 +52,7 @@ extern void rmci_off(void);
static inline void rmci_maybe_on(void) static inline void rmci_maybe_on(void)
{ {
#ifdef CONFIG_PPC_EARLY_DEBUG_BOOTX #if defined(CONFIG_PPC_EARLY_DEBUG_BOOTX) && defined(CONFIG_PPC64)
if (!(mfmsr() & MSR_DR)) if (!(mfmsr() & MSR_DR))
rmci_on(); rmci_on();
#endif #endif
...@@ -60,7 +60,7 @@ static inline void rmci_maybe_on(void) ...@@ -60,7 +60,7 @@ static inline void rmci_maybe_on(void)
static inline void rmci_maybe_off(void) static inline void rmci_maybe_off(void)
{ {
#ifdef CONFIG_PPC_EARLY_DEBUG_BOOTX #if defined(CONFIG_PPC_EARLY_DEBUG_BOOTX) && defined(CONFIG_PPC64)
if (!(mfmsr() & MSR_DR)) if (!(mfmsr() & MSR_DR))
rmci_off(); rmci_off();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment