mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
[PATCH] Dynamic kernel command-line: s390
Rename saved_command_line into boot_command_line. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
bf71cecbe4
commit
e06b1a3513
@ -740,7 +740,7 @@ setup_arch(char **cmdline_p)
|
||||
#endif /* CONFIG_64BIT */
|
||||
|
||||
/* Save unparsed command line copy for /proc/cmdline */
|
||||
strlcpy(saved_command_line, COMMAND_LINE, COMMAND_LINE_SIZE);
|
||||
strlcpy(boot_command_line, COMMAND_LINE, COMMAND_LINE_SIZE);
|
||||
|
||||
*cmdline_p = COMMAND_LINE;
|
||||
*(*cmdline_p + COMMAND_LINE_SIZE - 1) = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user