summaryrefslogtreecommitdiff
path: root/src/base/basictypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/basictypes.h')
-rw-r--r--src/base/basictypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/basictypes.h b/src/base/basictypes.h
index b4be9e3..a5f971e 100644
--- a/src/base/basictypes.h
+++ b/src/base/basictypes.h
@@ -334,6 +334,8 @@ class AssignAttributeStartEnd {
#if defined(HAVE___ATTRIBUTE__)
# if (defined(__i386__) || defined(__x86_64__))
# define CACHELINE_ALIGNED __attribute__((aligned(64)))
+# elif defined(__arm__)
+# define CACHELINE_ALIGNED __attribute__((aligned(32)))
# elif (defined(__PPC__) || defined(__PPC64__))
# define CACHELINE_ALIGNED __attribute__((aligned(16)))
# endif