arm64: Mark __stack_chk_guard as __ro_after_init
[linux-2.6-microblaze.git] / arch / arm64 / kernel / process.c
index 1a1213c..40adb8c 100644 (file)
@@ -57,7 +57,7 @@
 
 #if defined(CONFIG_STACKPROTECTOR) && !defined(CONFIG_STACKPROTECTOR_PER_TASK)
 #include <linux/stackprotector.h>
-unsigned long __stack_chk_guard __read_mostly;
+unsigned long __stack_chk_guard __ro_after_init;
 EXPORT_SYMBOL(__stack_chk_guard);
 #endif