Skip to content

Commit

Permalink
microblaze: fix divide by zero exception message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Michal Simek committed May 6, 2010
1 parent 113a591 commit f3ff821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f3ff821

Please sign in to comment.