parisc: Use __ro_after_init in processor.c
authorHelge Deller <deller@gmx.de>
Fri, 10 May 2019 18:55:08 +0000 (20:55 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 10 May 2019 19:00:45 +0000 (21:00 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/processor.c

index e0a81de..e715871 100644 (file)
 #include <asm/irq.h>           /* for struct irq_region */
 #include <asm/parisc-device.h>
 
-struct system_cpuinfo_parisc boot_cpu_data __read_mostly;
+struct system_cpuinfo_parisc boot_cpu_data __ro_after_init;
 EXPORT_SYMBOL(boot_cpu_data);
 #ifdef CONFIG_PA8X00
-int _parisc_requires_coherency __read_mostly;
+int _parisc_requires_coherency __ro_after_init;
 EXPORT_SYMBOL(_parisc_requires_coherency);
 #endif