microblaze: fix divide by zero exception message

Previous thread: microblaze: Add isa_dma_bridge_buggy to dma.h by Linux Kernel Mailing List on Friday, May 7, 2010 - 5:59 pm. (1 message)

Next thread: microblaze: Remove ancient code by Linux Kernel Mailing List on Friday, May 7, 2010 - 5:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Friday, May 7, 2010 - 5:59 pm

Gitweb:     http://git.kernel.org/linus/f3ff8212a24f1935b44a3fcdd81c787428f053a6
Commit:     f3ff8212a24f1935b44a3fcdd81c787428f053a6
Parent:     113a591a17de9e71b90631be89d3268c406b11c6
Author:     Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Wed Apr 21 14:11:34 2010 -0700
Committer:  Michal Simek <monstr@monstr.eu>
CommitDate: Thu May 6 11:21:58 2010 +0200

    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>
---
 arch/microblaze/kernel/exceptions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

Previous thread: microblaze: Add isa_dma_bridge_buggy to dma.h by Linux Kernel Mailing List on Friday, May 7, 2010 - 5:59 pm. (1 message)

Next thread: microblaze: Remove ancient code by Linux Kernel Mailing List on Friday, May 7, 2010 - 5:59 pm. (1 message)