mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] microblaze: fix divide by zero exception message
@ 2010-04-21 21:11 Randy Dunlap
  2010-04-22  5:33 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-04-21 21:11 UTC (permalink / raw)
  To: lkml; +Cc: Michal Simek, microblaze-uclinux, akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

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
---
 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");

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-22  5:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-21 21:11 [PATCH] microblaze: fix divide by zero exception message Randy Dunlap
2010-04-22  5:33 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome