]> git.baikalelectronics.ru Git - kernel.git/commit
init/bootconfig: Reorder init parameter from bootconfig and cmdline
authorMasami Hiramatsu <mhiramat@kernel.org>
Sat, 4 Sep 2021 15:54:16 +0000 (00:54 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 8 Sep 2021 19:10:41 +0000 (15:10 -0400)
commit10fa6ae917fc68f572146c0b3ac92831ac9a6069
tree2e02da90c7241f756db435e1fedc7d01ad26a013
parentfee251dfd4661612240d61c07bbdbaa081090e61
init/bootconfig: Reorder init parameter from bootconfig and cmdline

Reorder the init parameters from bootconfig and kernel cmdline
so that the kernel cmdline always be the last part of the
parameters as below.

 " -- "[bootconfig init params][cmdline init params]

This change will help us to prevent that bootconfig init params
overwrite the init params which user gives in the command line.

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