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, 11 Dec 2018 23:29:04 +0000 (23:29 +0000)
Closes: #763900
Gbp-Pq: Topic porting
Gbp-Pq: Name Make-powerpc-not-use-static-page-sizes-in-mozjemallo.patch

memory/build/mozjemalloc.cpp

index 6872cb016f5b2f86f0048de1359eaedc28fca81f..3d81c6228f529d23a40501c8f07b4b8a05c7d7df 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