summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-06-14 19:16:43 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-06-14 19:16:43 +0000
commit063c06e054aa0af9355fea7e28867d8880164dd3 (patch)
treecab3bb7bb3b5215f584dc6436846c5d1ec6984d5 /sys-kernel
parentsource have been dev-lisp/sbcl:nosource (diff)
downloadgentoo-2-063c06e054aa0af9355fea7e28867d8880164dd3.tar.gz
gentoo-2-063c06e054aa0af9355fea7e28867d8880164dd3.tar.bz2
gentoo-2-063c06e054aa0af9355fea7e28867d8880164dd3.zip
Added a patch for the FPU-lockup issue; please see bug #58304 for details.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/pac-sources/ChangeLog9
-rw-r--r--sys-kernel/pac-sources/files/digest-pac-sources-2.4.23-r7 (renamed from sys-kernel/pac-sources/files/digest-pac-sources-2.4.23-r6)0
-rw-r--r--sys-kernel/pac-sources/files/pac-sources.FPULockup-53804.patch11
-rw-r--r--sys-kernel/pac-sources/pac-sources-2.4.23-r7.ebuild (renamed from sys-kernel/pac-sources/pac-sources-2.4.23-r6.ebuild)3
4 files changed, 21 insertions, 2 deletions
diff --git a/sys-kernel/pac-sources/ChangeLog b/sys-kernel/pac-sources/ChangeLog
index 67acd56e280d..3e7f69f86730 100644
--- a/sys-kernel/pac-sources/ChangeLog
+++ b/sys-kernel/pac-sources/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-kernel/pac-sources
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pac-sources/ChangeLog,v 1.8 2004/06/02 13:26:00 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pac-sources/ChangeLog,v 1.9 2004/06/14 19:16:43 plasmaroo Exp $
+
+*pac-sources-2.4.23-r7 (14 Jun 2004)
+
+ 14 Jun 2004; <plasmaroo@gentoo.org> -pac-sources-2.4.23-r6.ebuild,
+ +pac-sources-2.4.23-r7.ebuild, +files/pac-sources.FPULockup-53804.patch:
+ Added a patch for the FPU-lockup issue; please see bug #58304 for details.
+ Old version removed.
*pac-sources-2.4.23-r6 (02 Jun 2004)
diff --git a/sys-kernel/pac-sources/files/digest-pac-sources-2.4.23-r6 b/sys-kernel/pac-sources/files/digest-pac-sources-2.4.23-r7
index 75e05aae1086..75e05aae1086 100644
--- a/sys-kernel/pac-sources/files/digest-pac-sources-2.4.23-r6
+++ b/sys-kernel/pac-sources/files/digest-pac-sources-2.4.23-r7
diff --git a/sys-kernel/pac-sources/files/pac-sources.FPULockup-53804.patch b/sys-kernel/pac-sources/files/pac-sources.FPULockup-53804.patch
new file mode 100644
index 000000000000..1dd5ed87b520
--- /dev/null
+++ b/sys-kernel/pac-sources/files/pac-sources.FPULockup-53804.patch
@@ -0,0 +1,11 @@
+--- linux-2.4/include/asm-i386/i387.h 2004-06-13 20:06:05.044881328 +0100
++++ linux-2.4/include/asm-i386/i387.h 2004-06-13 20:25:42.836829736 +0100
+@@ -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 --git a/sys-kernel/pac-sources/pac-sources-2.4.23-r6.ebuild b/sys-kernel/pac-sources/pac-sources-2.4.23-r7.ebuild
index d97ea97a3182..ac2219d65b23 100644
--- a/sys-kernel/pac-sources/pac-sources-2.4.23-r6.ebuild
+++ b/sys-kernel/pac-sources/pac-sources-2.4.23-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pac-sources/pac-sources-2.4.23-r6.ebuild,v 1.1 2004/06/02 13:26:00 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pac-sources/pac-sources-2.4.23-r7.ebuild,v 1.1 2004/06/14 19:16:43 plasmaroo Exp $
IUSE="build"
ETYPE="sources"
@@ -66,5 +66,6 @@ src_unpack() {
epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Failed to add the CAN-2004-0181 patch!"
epatch ${FILESDIR}/${PN}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!"
epatch ${FILESDIR}/${PN}.CAN-2004-0427.patch || die "Failed to add the CAN-2004-0427 patch!"
+ epatch ${FILESDIR}/${PN}.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
kernel_universal_unpack
}