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);
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))
rmci_on();
#endif
......@@ -60,7 +60,7 @@ static inline void rmci_maybe_on(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))
rmci_off();
#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