Make powerpc not use static page sizes in mozjemalloc
authorMike Hommey <mh@glandium.org>
Wed, 25 Feb 2015 01:41:37 +0000 (10:41 +0900)
committerMike Hommey <glandium@debian.org>
Tue, 23 Oct 2018 22:08:43 +0000 (23:08 +0100)
Closes: #763900
Gbp-Pq: Topic porting
Gbp-Pq: Name Make-powerpc-not-use-static-page-sizes-in-mozjemallo.patch

memory/build/mozjemalloc.cpp

index 8db6ecb9e316d92a389a652cddca7856cd3878a8..3492f63f2af546d02b1e129de8b56289a6e239ed 100644 (file)
@@ -180,7 +180,7 @@ using namespace mozilla;
 // Debug builds are opted out too, for test coverage.
 #ifndef MOZ_DEBUG
 #if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) &&         \
-  !defined(__aarch64__)
+  !defined(__aarch64__) && !defined(__powerpc__)
 #define MALLOC_STATIC_PAGESIZE 1
 #endif
 #endif