diff options
author | Michal Simek <monstr@monstr.eu> | 2009-09-22 02:58:47 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-09-22 04:00:44 -0400 |
commit | 23902d95c9297fc1e214a705e57d46d69195b6b3 (patch) | |
tree | 7d8438696406b4aa7e82c05d3adf7b0049eb74dc /arch/microblaze | |
parent | bfc32ad09bd5b077aac62f09e24d10374001c07b (diff) |
microblaze: Generate correct signal and siginfo for integer div-by-zero
Signed-off-by: John Williams <john.williams@petalogix.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | 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 e64a5c7282a5..d9f70f83097f 100644 --- a/arch/microblaze/kernel/exceptions.c +++ b/arch/microblaze/kernel/exceptions.c | |||
@@ -116,7 +116,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, | |||
116 | if (user_mode(regs)) { | 116 | if (user_mode(regs)) { |
117 | pr_debug(KERN_WARNING "Divide by zero exception " \ | 117 | pr_debug(KERN_WARNING "Divide by zero exception " \ |
118 | "in user mode\n"); | 118 | "in user mode\n"); |
119 | _exception(SIGILL, regs, ILL_ILLOPC, addr); | 119 | _exception(SIGILL, regs, FPE_INTDIV, addr); |
120 | return; | 120 | return; |
121 | } | 121 | } |
122 | printk(KERN_WARNING "Divide by zero exception " \ | 122 | printk(KERN_WARNING "Divide by zero exception " \ |