[PATCH] powerpc: xmon: Fix #if typo for systems without MSR[RI]
Jimi Xenidis
jimix at pobox.com
Fri Sep 30 08:05:28 EST 2011
Sorry, there was a typo in the #if
signed-off-by: Jimi Xenidis <jimix at pobox.com>
---
arch/powerpc/xmon/xmon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 13f82f8..e88e7f5 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -340,7 +340,7 @@ int cpus_are_in_xmon(void)
static inline int unrecoverable_excp(struct pt_regs *regs)
{
-#if defined(CONFIG_4xx) || defined(CONFIG_BOOK3E)
+#if defined(CONFIG_4xx) || defined(CONFIG_PPC_BOOK3E)
/* We have no MSR_RI bit on 4xx or Book3e, so we simply return false */
return 0;
#else
--
1.7.0.4
More information about the Linuxppc-dev
mailing list