summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/cache.h')
-rw-r--r--include/asm-alpha/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-alpha/cache.h b/include/asm-alpha/cache.h
index 5e46073a8..b7662d726 100644
--- a/include/asm-alpha/cache.h
+++ b/include/asm-alpha/cache.h
@@ -10,4 +10,6 @@
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
#define SMP_CACHE_BYTES L1_CACHE_BYTES
+#define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))
+
#endif