summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/ut0counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/ut0counter.h')
-rw-r--r--storage/xtradb/include/ut0counter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/xtradb/include/ut0counter.h b/storage/xtradb/include/ut0counter.h
index fe0f36dfff2..63a133a175d 100644
--- a/storage/xtradb/include/ut0counter.h
+++ b/storage/xtradb/include/ut0counter.h
@@ -32,7 +32,11 @@ Created 2012/04/12 by Sunny Bains
#include "os0thread.h"
/** CPU cache line size */
+#ifdef __powerpc__
+#define CACHE_LINE_SIZE 128
+#else
#define CACHE_LINE_SIZE 64
+#endif
/** Default number of slots to use in ib_counter_t */
#define IB_N_SLOTS 64