From: Randy Dunlap Date: Wed, 21 Apr 2010 21:11:34 +0000 (-0700) Subject: microblaze: fix divide by zero exception message X-Git-Tag: v2.6.34-rc7~12^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3ff8212a24f1935b44a3fcdd81c787428f053a6;p=platform%2Fkernel%2Flinux-3.10.git microblaze: fix divide by zero exception message Fix divide exception message to say "divide by zero". Signed-off-by: Randy Dunlap Cc: Michal Simek Cc: microblaze-uclinux@itee.uq.edu.au Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/exceptions.c b/arch/microblaze/kernel/exceptions.c index d9f70f8..02cbdfe 100644 --- a/arch/microblaze/kernel/exceptions.c +++ b/arch/microblaze/kernel/exceptions.c @@ -121,7 +121,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, } printk(KERN_WARNING "Divide by zero exception " \ "in kernel mode.\n"); - die("Divide by exception", regs, SIGBUS); + die("Divide by zero exception", regs, SIGBUS); break; case MICROBLAZE_FPU_EXCEPTION: pr_debug(KERN_WARNING "FPU exception\n");