summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/exceptions.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-04-21 23:11:34 +0200
committerMichal Simek <monstr@monstr.eu>2010-05-06 11:21:58 +0200
commitf3ff8212a24f1935b44a3fcdd81c787428f053a6 (patch)
tree4fcb26b732bbc99b7e2814a2f71e5d71e3e1986f /arch/microblaze/kernel/exceptions.c
parentmicroblaze: Add isa_dma_bridge_buggy to dma.h (diff)
downloadlinux-f3ff8212a24f1935b44a3fcdd81c787428f053a6.tar.xz
linux-f3ff8212a24f1935b44a3fcdd81c787428f053a6.zip
microblaze: fix divide by zero exception message
Fix divide exception message to say "divide by zero". Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Michal Simek <monstr@monstr.eu> Cc: microblaze-uclinux@itee.uq.edu.au Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/exceptions.c')
-rw-r--r--arch/microblaze/kernel/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/exceptions.c b/arch/microblaze/kernel/exceptions.c
index d9f70f83097f..02cbdfe5aa8d 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");