]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- [SECURITY] http://linuxreviews.org/news/2004-06-11_kernel_crash/ auto/ac/kernel24-2_4_26-3 auto/ac/kernel24-2_4_26-4
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Tue, 15 Jun 2004 14:04:33 +0000 (14:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    24_kernel_ia32-and-x86_64-fix-fpu-state.patch -> 1.1

24_kernel_ia32-and-x86_64-fix-fpu-state.patch [new file with mode: 0644]

diff --git a/24_kernel_ia32-and-x86_64-fix-fpu-state.patch b/24_kernel_ia32-and-x86_64-fix-fpu-state.patch
new file mode 100644 (file)
index 0000000..19d498b
--- /dev/null
@@ -0,0 +1,28 @@
+Respin of the 2.6 version that went into BK head some hours ago.
+
+ - atomt
+
+diff -Naur linux-2.4.26/include/asm-i386/i387.h linux-2.4.26-1/include/asm-i386/i387.h
+--- linux-2.4.26/include/asm-i386/i387.h       2002-08-03 02:39:45.000000000 +0200
++++ linux-2.4.26-1/include/asm-i386/i387.h     2004-06-13 05:21:51.000000000 +0200
+@@ -34,7 +34,7 @@
+ #define clear_fpu( tsk ) do { \
+       if ( tsk->flags & PF_USEDFPU ) { \
+-              asm volatile("fwait"); \
++              asm volatile("fnclex ; fwait"); \
+               tsk->flags &= ~PF_USEDFPU; \
+               stts(); \
+       } \
+diff -Naur linux-2.4.26/include/asm-x86_64/i387.h linux-2.4.26-1/include/asm-x86_64/i387.h
+--- linux-2.4.26/include/asm-x86_64/i387.h     2003-08-25 13:44:44.000000000 +0200
++++ linux-2.4.26-1/include/asm-x86_64/i387.h   2004-06-13 05:27:55.000000000 +0200
+@@ -34,7 +34,7 @@
+ #define clear_fpu( tsk ) do { \
+       if ( tsk->flags & PF_USEDFPU ) { \
+-              asm volatile("fwait"); \
++              asm volatile("fnclex ; fwait"); \
+               tsk->flags &= ~PF_USEDFPU; \
+               stts(); \
+       } \
This page took 6.301557 seconds and 4 git commands to generate.