forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 093a6c67005148ae32a5c9e4553491b9f5c2457b
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)