summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/mono/files/mono-2.0-ppc-threading.patch')
-rw-r--r--dev-lang/mono/files/mono-2.0-ppc-threading.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-lang/mono/files/mono-2.0-ppc-threading.patch b/dev-lang/mono/files/mono-2.0-ppc-threading.patch
deleted file mode 100644
index d28ecf2763af..000000000000
--- a/dev-lang/mono/files/mono-2.0-ppc-threading.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- mono-2.0/mono/mini/main.c 2008-08-03 07:49:23.000000000 +0100
-+++ mono-2.0/mono/mini/main-new.c 2008-08-03 07:55:10.000000000 +0100
-@@ -23,10 +23,16 @@
- }
-
- #else
--
-+#include <sched.h>
- int
- main (int argc, char* argv[])
- {
-+ /* On PowerPC call sched_setaffinity to bind to one CPU only
-+ * to work around parallelism bug on G5 SMP */
-+ #ifdef __powerpc__
-+ unsigned long mask = 1;
-+ sched_setaffinity(0, sizeof(mask), &mask);
-+ #endif
- return mono_main (argc, argv);
- }
-