]> git.baikalelectronics.ru Git - kernel.git/commit
init: bootconfig: Remove all bootconfig data when the init memory is removed
authorMasami Hiramatsu <mhiramat@kernel.org>
Sat, 4 Sep 2021 15:54:09 +0000 (00:54 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 8 Sep 2021 19:10:41 +0000 (15:10 -0400)
commitfee251dfd4661612240d61c07bbdbaa081090e61
tree49d27ad6247721bd6671f5cf8b9d2eabd78cef1f
parentdcb10ac485e3918c8a5920755a2982ad16f2e089
init: bootconfig: Remove all bootconfig data when the init memory is removed

Since the bootconfig is used only in the init functions,
it doesn't need to keep the data after boot. Free it when
the init memory is removed.

Link: https://lkml.kernel.org/r/163077084958.222577.5924961258513004428.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
init/main.c