hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/include/linux/stackprotector.h
....@@ -6,7 +6,7 @@
66 #include <linux/sched.h>
77 #include <linux/random.h>
88
9
-#ifdef CONFIG_STACKPROTECTOR
9
+#if defined(CONFIG_STACKPROTECTOR) || defined(CONFIG_ARM64_PTR_AUTH)
1010 # include <asm/stackprotector.h>
1111 #else
1212 static inline void boot_init_stack_canary(void)