parisc: Use __ro_after_init in unwind.c
authorHelge Deller <deller@gmx.de>
Fri, 10 May 2019 18:55:51 +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/unwind.c

index 2d14f17..87ae476 100644 (file)
@@ -40,7 +40,7 @@ static DEFINE_SPINLOCK(unwind_lock);
  * we can call unwind_init as early in the bootup process as 
  * possible (before the slab allocator is initialized)
  */
-static struct unwind_table kernel_unwind_table __read_mostly;
+static struct unwind_table kernel_unwind_table __ro_after_init;
 static LIST_HEAD(unwind_tables);
 
 static inline const struct unwind_table_entry *