git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
arm
/
vfp
/
vfpmodule.c
diff --git
a/arch/arm/vfp/vfpmodule.c
b/arch/arm/vfp/vfpmodule.c
index
3aeedd2
..
03486be
100644
(file)
--- a/
arch/arm/vfp/vfpmodule.c
+++ b/
arch/arm/vfp/vfpmodule.c
@@
-89,7
+89,7
@@
void vfp_raise_sigfpe(unsigned int sicode, struct pt_regs *regs)
current->thread.error_code = 0;
current->thread.trap_no = 6;
current->thread.error_code = 0;
current->thread.trap_no = 6;
-
force
_sig_info(SIGFPE, &info, current);
+
send
_sig_info(SIGFPE, &info, current);
}
static void vfp_panic(char *reason)
}
static void vfp_panic(char *reason)
@@
-180,7
+180,7
@@
static u32 vfp_emulate_instruction(u32 inst, u32 fpscr, struct pt_regs *regs)
* emulate it.
*/
}
* emulate it.
*/
}
- return exceptions;
+ return exceptions
& ~VFP_NAN_FLAG
;
}
/*
}
/*
@@
-245,7
+245,7
@@
void VFP9_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs)
*/
barrier();
trigger = fmrx(FPINST2);
*/
barrier();
trigger = fmrx(FPINST2);
- fpscr = fmrx(FPSCR);
+
orig_fpscr =
fpscr = fmrx(FPSCR);
emulate:
exceptions = vfp_emulate_instruction(trigger, fpscr, regs);
emulate:
exceptions = vfp_emulate_instruction(trigger, fpscr, regs);