aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Xenidis2011-09-29 12:05:28 +0000
committerBenjamin Herrenschmidt2011-11-25 14:11:28 +1100
commit08f6d6abc3eadb88f020075910e6f3a849e56690 (patch)
treebdaef1753af8d0450d98b65c48afa816c75bf540
parent79873e8df64cc124cdcad56d1d8330b3f45690bc (diff)
powerpc/xmon: Fix #if typo for systems without MSR[RI]
Sorry, there was a typo in the #if signed-off-by: Jimi Xenidis <jimix@pobox.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--arch/powerpc/xmon/xmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 95cf53b71499..cb95eea74d3d 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -338,7 +338,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