Commit f3ff8212 authored by Randy Dunlap's avatar Randy Dunlap Committed by Michal Simek

microblaze: fix divide by zero exception message

Fix divide exception message to say "divide by zero".
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc:	Michal Simek <monstr@monstr.eu>
Cc:	microblaze-uclinux@itee.uq.edu.au
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 113a591a
...@@ -121,7 +121,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, ...@@ -121,7 +121,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
} }
printk(KERN_WARNING "Divide by zero exception " \ printk(KERN_WARNING "Divide by zero exception " \
"in kernel mode.\n"); "in kernel mode.\n");
die("Divide by exception", regs, SIGBUS); die("Divide by zero exception", regs, SIGBUS);
break; break;
case MICROBLAZE_FPU_EXCEPTION: case MICROBLAZE_FPU_EXCEPTION:
pr_debug(KERN_WARNING "FPU exception\n"); pr_debug(KERN_WARNING "FPU exception\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment