summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/cache.h')
-rw-r--r--arch/s390/include/asm/cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/cache.h b/arch/s390/include/asm/cache.h
index 4d7ccac5fd1d..22da3b34c655 100644
--- a/arch/s390/include/asm/cache.h
+++ b/arch/s390/include/asm/cache.h
@@ -15,4 +15,7 @@
#define __read_mostly __attribute__((__section__(".data..read_mostly")))
+/* Read-only memory is marked before mark_rodata_ro() is called. */
+#define __ro_after_init __read_mostly
+
#endif