summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-06-15 17:46:04 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-06-15 17:46:04 +0000
commitc8494588122483eb2f6023f2ae38f4e3fad9e5ba (patch)
treeb707474c1760948a3e5d3250307d181db3b68b39 /sys-kernel/usermode-sources/files/usermode-sources-2.4.24.CAN-2004-0427.patch
parentinitial ebuild (diff)
downloadhistorical-c8494588122483eb2f6023f2ae38f4e3fad9e5ba.tar.gz
historical-c8494588122483eb2f6023f2ae38f4e3fad9e5ba.tar.bz2
historical-c8494588122483eb2f6023f2ae38f4e3fad9e5ba.zip
Added patches for the FPU-lockup issues; please see bug #58304 for details. 2.4.24 also patched for CAN-2004-0075, CAN-2004-0181,CAN-2004-0394 and CAN-2004-0427.
Diffstat (limited to 'sys-kernel/usermode-sources/files/usermode-sources-2.4.24.CAN-2004-0427.patch')
-rw-r--r--sys-kernel/usermode-sources/files/usermode-sources-2.4.24.CAN-2004-0427.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/usermode-sources/files/usermode-sources-2.4.24.CAN-2004-0427.patch b/sys-kernel/usermode-sources/files/usermode-sources-2.4.24.CAN-2004-0427.patch
new file mode 100644
index 000000000000..ddc9610f67f8
--- /dev/null
+++ b/sys-kernel/usermode-sources/files/usermode-sources-2.4.24.CAN-2004-0427.patch
@@ -0,0 +1,14 @@
+diff -Nar -U 4 linux-2.4.25/kernel/fork.c linux-2.4.25-new/kernel/fork.c
+--- linux-2.4.25/kernel/fork.c 2004-02-18 05:36:32.000000000 -0800
++++ linux-2.4.25-new/kernel/fork.c 2004-04-07 17:43:29.000000000 -0700
+@@ -825,8 +825,10 @@
+ bad_fork_cleanup_namespace:
+ exit_namespace(p);
+ bad_fork_cleanup_mm:
+ exit_mm(p);
++ if (p->active_mm)
++ mmdrop(p->active_mm);
+ bad_fork_cleanup_sighand:
+ exit_sighand(p);
+ bad_fork_cleanup_fs:
+ exit_fs(p); /* blocking */