summaryrefslogtreecommitdiffstats
path: root/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-13 12:18:08 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-13 12:18:08 +0000
commit6e2b255ad85b1227262872d127a94bf3aac153a6 (patch)
tree1223379b3fb35c385ca08e3a065e0bf40d8075e7 /target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch
parent0ac8b4c2987f12f27f39183c2cd9108736c6e28d (diff)
downloadbuildroot-novena-6e2b255ad85b1227262872d127a94bf3aac153a6.tar.gz
buildroot-novena-6e2b255ad85b1227262872d127a94bf3aac153a6.zip
make this target current
Diffstat (limited to 'target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch')
-rw-r--r--target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch b/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch
deleted file mode 100644
index 8b756f8ad..000000000
--- a/target/device/AMD/DBAu1500/kernel-patches/006_init_unshare.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- orig/kernel/fork.c 2006-03-21 01:41:50.000000000 -0700
-+++ linux-2.6.16/kernel/fork.c 2006-03-21 01:41:50.000000000 -0700
-@@ -773,7 +773,7 @@
-
- /* This can race but the race causes us to copy when we don't
- need to and drop the copy */
-- if(atomic_read(&files->count) == 1)
-+ if(atomic_read(&files->count) == 1 || current->pid == 1)
- {
- atomic_inc(&files->count);
- return 0;