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 ea87a6d..5814d5b 100644
--- a/src/base/basictypes.h
+++ b/src/base/basictypes.h
@@ -387,6 +387,8 @@ class AssignAttributeStartEnd {
# define CACHELINE_ALIGNED __attribute__((aligned(64)))
# elif (defined(__e2k__))
# define CACHELINE_ALIGNED __attribute__((aligned(64)))
+# elif defined(__loongarch64)
+# define CACHELINE_ALIGNED __attribute__((aligned(64)))
# else
# error Could not determine cache line length - unknown architecture
# endif