From: Helge Deller Date: Fri, 10 May 2019 18:50:16 +0000 (+0200) Subject: parisc: Use __ro_after_init in firmware.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1b69085d4fcfd1df67d86a553c522fa1cb7603b4;p=openwrt%2Fstaging%2Fblogic.git parisc: Use __ro_after_init in firmware.c Signed-off-by: Helge Deller --- 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