[kernel] r15820 - in dists/sid/linux-2.6/debian: . patches/bugfix/parisc patches/series
Dann Frazier
dannf at alioth.debian.org
Tue Jun 1 15:58:36 UTC 2010
Author: dannf
Date: Tue Jun 1 15:58:28 2010
New Revision: 15820
Log:
[hppa] clear floating point exception flag on SIGFPE signal
(Closes: #559406)
Added:
dists/sid/linux-2.6/debian/patches/bugfix/parisc/clear-fp-exception-flag-on-SIGFPE.patch
dists/sid/linux-2.6/debian/patches/series/16
Modified:
dists/sid/linux-2.6/debian/changelog
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog Tue Jun 1 02:34:45 2010 (r15819)
+++ dists/sid/linux-2.6/debian/changelog Tue Jun 1 15:58:28 2010 (r15820)
@@ -1,3 +1,10 @@
+linux-2.6 (2.6.32-16) UNRELEASED; urgency=low
+
+ * [hppa] clear floating point exception flag on SIGFPE signal
+ (Closes: #559406)
+
+ -- dann frazier <dannf at debian.org> Tue, 01 Jun 2010 09:23:57 -0600
+
linux-2.6 (2.6.32-15) unstable; urgency=low
[ Ben Hutchings ]
Added: dists/sid/linux-2.6/debian/patches/bugfix/parisc/clear-fp-exception-flag-on-SIGFPE.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/bugfix/parisc/clear-fp-exception-flag-on-SIGFPE.patch Tue Jun 1 15:58:28 2010 (r15820)
@@ -0,0 +1,28 @@
+commit 550f0d922286556c7ea43974bb7921effb5a5278
+Author: Helge Deller <deller at gmx.de>
+Date: Mon May 3 20:44:21 2010 +0000
+
+ parisc: clear floating point exception flag on SIGFPE signal
+
+ Clear the floating point exception flag before returning to
+ user space. This is needed, else the libc trampoline handler
+ may hit the same SIGFPE again while building up a trampoline
+ to a signal handler.
+
+ Fixes debian bug #559406.
+
+ Signed-off-by: Helge Deller <deller at gmx.de>
+ Signed-off-by: Kyle McMartin <kyle at mcmartin.ca>
+
+diff --git a/arch/parisc/math-emu/decode_exc.c b/arch/parisc/math-emu/decode_exc.c
+index 3ca1c61..27a7492 100644
+--- a/arch/parisc/math-emu/decode_exc.c
++++ b/arch/parisc/math-emu/decode_exc.c
+@@ -342,6 +342,7 @@ decode_fpu(unsigned int Fpu_register[], unsigned int trap_counts[])
+ return SIGNALCODE(SIGFPE, FPE_FLTINV);
+ case DIVISIONBYZEROEXCEPTION:
+ update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
++ Clear_excp_register(exception_index);
+ return SIGNALCODE(SIGFPE, FPE_FLTDIV);
+ case INEXACTEXCEPTION:
+ update_trap_counts(Fpu_register, aflags, bflags, trap_counts);
Added: dists/sid/linux-2.6/debian/patches/series/16
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/series/16 Tue Jun 1 15:58:28 2010 (r15820)
@@ -0,0 +1 @@
++ bugfix/parisc/clear-fp-exception-flag-on-SIGFPE.patch
More information about the Kernel-svn-changes
mailing list