aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sparc64/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/cache.h')
-rw-r--r--include/asm-sparc64/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/cache.h b/include/asm-sparc64/cache.h
index f7d35a2ae9b..e9df17acedd 100644
--- a/include/asm-sparc64/cache.h
+++ b/include/asm-sparc64/cache.h
@@ -13,4 +13,6 @@
#define SMP_CACHE_BYTES_SHIFT 6
#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) /* L2 cache line size. */
+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+
#endif