From: Helge Deller Date: Fri, 10 May 2019 18:55:08 +0000 (+0200) Subject: parisc: Use __ro_after_init in processor.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d98883690b7bc5faab98795dff694549e4c60556;p=openwrt%2Fstaging%2Fblogic.git parisc: Use __ro_after_init in processor.c Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index e0a81dedc366..e715871cd4ac 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -43,10 +43,10 @@ #include /* for struct irq_region */ #include -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