summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-05-10 20:50:16 +0200
committerHelge Deller <deller@gmx.de>2019-05-10 21:00:44 +0200
commit1b69085d4fcfd1df67d86a553c522fa1cb7603b4 (patch)
tree4590c1cf849b3641c7777491a203f758cd667e14 /arch/parisc/kernel
parent9aa8848a751fec5f655f4409875baaee1ca3e3e8 (diff)
downloadlinux-stable-1b69085d4fcfd1df67d86a553c522fa1cb7603b4.tar.gz
linux-stable-1b69085d4fcfd1df67d86a553c522fa1cb7603b4.tar.bz2
linux-stable-1b69085d4fcfd1df67d86a553c522fa1cb7603b4.zip
parisc: Use __ro_after_init in firmware.c
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r--arch/parisc/kernel/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/firmware.c b/arch/parisc/kernel/firmware.c
index 7a17551ea31e..f01e102bbfa2 100644
--- a/arch/parisc/kernel/firmware.c
+++ b/arch/parisc/kernel/firmware.c
@@ -87,7 +87,7 @@ extern unsigned long pdc_result2[NUM_PDC_RESULT];
/* Firmware needs to be initially set to narrow to determine the
* actual firmware width. */
-int parisc_narrow_firmware __read_mostly = 1;
+int parisc_narrow_firmware __ro_after_init = 1;
#endif
/* On most currently-supported platforms, IODC I/O calls are 32-bit calls