VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 Tags
author: Sumit Garg <sumit.garg@linaro.org> 2021-02-25 17:22:38 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-26 09:41:05 -0800 commit: d54ce6158e354f5358a547b96299ecd7f3725393 parent: db7fbf492d94a0b59d8f85b3184231662586dea9
Commit Summary:
kgdb: fix to kill breakpoints on initmem after boot
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/init/main.c b/init/main.c
index 3648c9f94882..53b278845b88 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1426,6 +1426,7 @@ static int __ref kernel_init(void *unused)
 	async_synchronize_full();
 	kprobe_free_init_mem();
 	ftrace_free_init_mem();
+	kgdb_free_init_mem();
 	free_initmem();
 	mark_readonly();