From: Jimi Xenidis Date: Thu, 29 Sep 2011 12:05:28 +0000 (+0000) Subject: powerpc/xmon: Fix #if typo for systems without MSR[RI] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08f6d6abc3eadb88f020075910e6f3a849e56690;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git powerpc/xmon: Fix #if typo for systems without MSR[RI] Sorry, there was a typo in the #if signed-off-by: Jimi Xenidis Signed-off-by: Benjamin Herrenschmidt --- 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