From: Randy Dunlap on
From: Randy Dunlap <randy.dunlap(a)oracle.com>

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

Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com>
Cc: Michal Simek <monstr(a)monstr.eu>
Cc: microblaze-uclinux(a)itee.uq.edu.au
---
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(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/