提交 ee372bc1 编写于 作者: B Benjamin Herrenschmidt

powerpc/btext: Fix CONFIG_PPC_EARLY_DEBUG_BOOTX on ppc32

The "rmci" stuff only exists on 64-bit
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册