|
@@ -114,19 +114,19 @@ EXPORT_SYMBOL(elf_hwcap2);
|
|
|
|
|
|
|
|
|
#ifdef MULTI_CPU
|
|
|
-struct processor processor __read_mostly;
|
|
|
+struct processor processor __ro_after_init;
|
|
|
#endif
|
|
|
#ifdef MULTI_TLB
|
|
|
-struct cpu_tlb_fns cpu_tlb __read_mostly;
|
|
|
+struct cpu_tlb_fns cpu_tlb __ro_after_init;
|
|
|
#endif
|
|
|
#ifdef MULTI_USER
|
|
|
-struct cpu_user_fns cpu_user __read_mostly;
|
|
|
+struct cpu_user_fns cpu_user __ro_after_init;
|
|
|
#endif
|
|
|
#ifdef MULTI_CACHE
|
|
|
-struct cpu_cache_fns cpu_cache __read_mostly;
|
|
|
+struct cpu_cache_fns cpu_cache __ro_after_init;
|
|
|
#endif
|
|
|
#ifdef CONFIG_OUTER_CACHE
|
|
|
-struct outer_cache_fns outer_cache __read_mostly;
|
|
|
+struct outer_cache_fns outer_cache __ro_after_init;
|
|
|
EXPORT_SYMBOL(outer_cache);
|
|
|
#endif
|
|
|
|