mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 07:39:47 +00:00
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>
This commit is contained in:
parent
bc683a7e51
commit
ee372bc1c6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user