Skip to content

Commit

Permalink
powerpc/xmon: Fix #if typo for systems without MSR[RI]
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jimi Xenidis authored and Benjamin Herrenschmidt committed Nov 25, 2011
1 parent 79873e8 commit 08f6d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/xmon/xmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08f6d6a

Please sign in to comment.