aboutsummaryrefslogtreecommitdiff
path: root/include/asm-s390/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/cache.h')
-rw-r--r--include/asm-s390/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/cache.h b/include/asm-s390/cache.h
index e20cdd9074d..cdf431b061b 100644
--- a/include/asm-s390/cache.h
+++ b/include/asm-s390/cache.h
@@ -16,4 +16,6 @@
#define ARCH_KMALLOC_MINALIGN 8
+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+
#endif