VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Vijayanand Jitta <vjitta@codeaurora.org> 2021-02-25 17:21:27 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-26 09:41:04 -0800 commit: e1fdc403349c64fa58f4c163f4bf9b860b4db808 parent: d262093656a0eec6d6114a3178a9d887fddd0ded
Commit Summary:
lib: stackdepot: add support to disable stack depot
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 261051070e3c..3648c9f94882 100644
--- a/init/main.c
+++ b/init/main.c
@@ -97,6 +97,7 @@
 #include <linux/mem_encrypt.h>
 #include <linux/kcsan.h>
 #include <linux/init_syscalls.h>
+#include <linux/stackdepot.h>
 
 #include <asm/io.h>
 #include <asm/bugs.h>
@@ -827,6 +828,7 @@ static void __init mm_init(void)
 	init_mem_debugging_and_hardening();
 	kfence_alloc_pool();
 	report_meminit();
+	stack_depot_init();
 	mem_init();
 	/* page_owner must be initialized after buddy is ready */
 	page_ext_init_flatmem_late();