projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c475eea
)
[PARISC] Fix floating point invalid exception trap handler
author
James Bottomley
<jejb@parisc-linux.org>
Wed, 11 Jan 2006 22:11:30 +0000
(15:11 -0700)
committer
Kyle McMartin
<kyle@duet.int.mcmartin.ca>
Mon, 23 Jan 2006 01:26:39 +0000
(20:26 -0500)
Fix our trap handler to issue the correct floating point exception
for both types of invalid trap.
Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/math-emu/decode_exc.c
patch
|
blob
|
history
diff --git
a/arch/parisc/math-emu/decode_exc.c
b/arch/parisc/math-emu/decode_exc.c
index f84f2586672b97441fa6fa30b414bb04581132ea..66c8a9f6a27eba49f17798873e97419a6104c282 100644
(file)
--- a/
arch/parisc/math-emu/decode_exc.c
+++ b/
arch/parisc/math-emu/decode_exc.c
@@
-337,6
+337,7
@@
decode_fpu(unsigned int Fpu_register[], unsigned int trap_counts[])
}
break;
case INVALIDEXCEPTION:
+ case OPC_2E_INVALIDEXCEPTION:
update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
return SIGNALCODE(SIGFPE, FPE_FLTINV);
case DIVISIONBYZEROEXCEPTION: