summaryrefslogtreecommitdiff
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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/s390/include/asm/cache.h b/arch/s390/include/asm/cache.h
index 22da3b34c655..05219a5e0b2f 100644
--- a/arch/s390/include/asm/cache.h
+++ b/arch/s390/include/asm/cache.h
@@ -13,9 +13,6 @@
#define L1_CACHE_SHIFT 8
#define NET_SKB_PAD 32
-#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
+#define __read_mostly __section(.data..read_mostly)
#endif