diff options
Diffstat (limited to 'arch')
-rw-r--r-- | 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 b54ff980ecd4..708236f34746 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -505,7 +505,7 @@ static int xmon_core(struct pt_regs *regs, int fromipi) | |||
505 | 505 | ||
506 | mtmsr(msr); /* restore interrupt enable */ | 506 | mtmsr(msr); /* restore interrupt enable */ |
507 | 507 | ||
508 | return cmd != 'X'; | 508 | return cmd != 'X' && cmd != EOF; |
509 | } | 509 | } |
510 | 510 | ||
511 | int xmon(struct pt_regs *excp) | 511 | int xmon(struct pt_regs *excp) |