]> 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)
commit25da0f4f4b8cb119dea14a4e84fe9b3295722687
tree49d27ad6247721bd6671f5cf8b9d2eabd78cef1f
parent01a5bf7a7842ceb19364a0d83e1efc78d0413d7e
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