summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-05-03 23:51:00 +0200
committerHelge Deller <deller@gmx.de>2019-05-06 00:10:03 +0200
commit62217beb394e654bbd2bb87c533dadd2d8bf62c6 (patch)
tree3adcd75c34fa8d4aa3836a5e30e0d8a72995a95a /arch/parisc/kernel/vmlinux.lds.S
parentbdca5d64ee92abeacd6dada0bc6f6f8e6350dd67 (diff)
parisc: Add static branch and JUMP_LABEL feature
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/vmlinux.lds.S')
-rw-r--r--arch/parisc/kernel/vmlinux.lds.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index c3b1b9c24ede..a8be7a47fcc0 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -18,6 +18,9 @@
*(.data..vm0.pgd) \
*(.data..vm0.pte)
+/* No __ro_after_init data in the .rodata section - which will always be ro */
+#define RO_AFTER_INIT_DATA
+
#include <asm-generic/vmlinux.lds.h>
/* needed for the processor specific cache alignment size */