projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc32ad
)
microblaze: Generate correct signal and siginfo for integer div-by-zero
author
Michal Simek
<monstr@monstr.eu>
Tue, 22 Sep 2009 06:58:47 +0000
(08:58 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Tue, 22 Sep 2009 08:00:44 +0000
(10:00 +0200)
Signed-off-by: John Williams <john.williams@petalogix.com>
arch/microblaze/kernel/exceptions.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/exceptions.c
b/arch/microblaze/kernel/exceptions.c
index e64a5c7282a557c909c1bc6fd8c18f09ac588414..d9f70f83097fc5f3c0f010b6a96f1c33f383ba47 100644
(file)
--- 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,
if (user_mode(regs)) {
pr_debug(KERN_WARNING "Divide by zero exception " \
"in user mode\n");
- _exception(SIGILL, regs,
ILL_ILLOPC
, addr);
+ _exception(SIGILL, regs,
FPE_INTDIV
, addr);
return;
}
printk(KERN_WARNING "Divide by zero exception " \
This page took
0.025253 seconds
and
5
git commands to generate.