From: Michal Simek Date: Thu, 16 Apr 2009 08:41:45 +0000 (+0200) Subject: microblaze: Remove while(1) loop from show_regs function X-Git-Tag: v3.0~9391^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51eb6dc9ca40d086c102bb868ba7f29f33a30f6f;p=platform%2Fkernel%2Flinux-amlogic.git microblaze: Remove while(1) loop from show_regs function I removed it because of show_regs can't break die function. If process/kernel failed, die (do_exit) function resolve it. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 436f26c..bdc8b2c 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c @@ -37,8 +37,6 @@ void show_regs(struct pt_regs *regs) regs->r29, regs->r30, regs->r31, regs->pc); printk(KERN_INFO " msr=%08lX, ear=%08lX, esr=%08lX, fsr=%08lX\n", regs->msr, regs->ear, regs->esr, regs->fsr); - while (1) - ; } void (*pm_idle)(void);