summaryrefslogtreecommitdiffstats
path: root/rhbz-855919.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-08 20:46:38 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-08 20:46:38 +0200
commit963e0b37fc2d1c7a9d590db828c564e528aaa80a (patch)
tree8bb63af1b14c44bed14a7f6a0e0d2ec6ab66a5c7 /rhbz-855919.patch
parentb0e913d9a031a3f6ec0f1553491813f551506464 (diff)
Xulrunner / Firefox 16.0
Diffstat (limited to 'rhbz-855919.patch')
-rw-r--r--rhbz-855919.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/rhbz-855919.patch b/rhbz-855919.patch
new file mode 100644
index 0000000..5315f57
--- /dev/null
+++ b/rhbz-855919.patch
@@ -0,0 +1,19 @@
+Index: mozilla-release/js/src/gc/Memory.cpp
+===================================================================
+--- mozilla-release.orig/js/src/gc/Memory.cpp
++++ mozilla-release/js/src/gc/Memory.cpp
+@@ -348,9 +348,14 @@ UnmapPages(void *p, size_t size)
+ bool
+ MarkPagesUnused(void *p, size_t size)
+ {
++// A workaround for Bug 746112 - endless loop on ppc64
++#if !(defined(__powerpc__))
+ JS_ASSERT(uintptr_t(p) % PageSize == 0);
+ int result = madvise(p, size, MADV_DONTNEED);
+ return result != -1;
++#else
++ return true;
++#endif
+ }
+
+ bool