You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
487 B

--- galera-3-25.3.12/galerautils/src/gu_limits.h 2015-08-27 09:32:41.000000000 +0200
+++ galera-3-25.3.12/galerautils/src/gu_limits.h 2016-02-22 20:32:50.566502280 +0100
@@ -40,7 +40,13 @@
/* We need this as a compile-time constant. Runtime check is implemented
* in gu_init.c */
+#if defined(__powerpc__)
+#define GU_PAGE_SIZE 65536
+#define GU_PAGE_MULTIPLIER 1
+#else
#define GU_PAGE_SIZE 4096
+#define GU_PAGE_MULTIPLIER 16
+#endif
static inline size_t gu_avphys_bytes()
{