kernel/include/linux/stackprotector.h
.. .. @@ -6,7 +6,7 @@ 6 6 #include <linux/sched.h> 7 7 #include <linux/random.h> 8 8 9 -#ifdef CONFIG_STACKPROTECTOR9 +#if defined(CONFIG_STACKPROTECTOR) || defined(CONFIG_ARM64_PTR_AUTH)10 10 # include <asm/stackprotector.h> 11 11 #else 12 12 static inline void boot_init_stack_canary(void)