[PATCH] microblaze: fix divide by zero exception message

From: Randy Dunlap
Date: Wed Apr 21 2010 - 17:12:35 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix divide exception message to say "divide by zero".

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Michal Simek <monstr@xxxxxxxxx>
Cc: microblaze-uclinux@xxxxxxxxxxxxxx
---
arch/microblaze/kernel/exceptions.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.34-rc4-git6.orig/arch/microblaze/kernel/exceptions.c
+++ linux-2.6.34-rc4-git6/arch/microblaze/kernel/exceptions.c
@@ -121,7 +121,7 @@ asmlinkage void full_exception(struct pt
}
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");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/