Commit bf71cecb authored by Alon Bar-Lev's avatar Alon Bar-Lev Committed by Linus Torvalds

[PATCH] Dynamic kernel command-line: ppc

Rename saved_command_line into boot_command_line.
Signed-off-by: default avatarAlon Bar-Lev <alon.barlev@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b8757b21
...@@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p) ...@@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p)
init_mm.brk = (unsigned long) klimit; init_mm.brk = (unsigned long) klimit;
/* Save unparsed command line copy for /proc/cmdline */ /* Save unparsed command line copy for /proc/cmdline */
strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE); strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE);
*cmdline_p = cmd_line; *cmdline_p = cmd_line;
parse_early_param(); parse_early_param();
......
...@@ -344,7 +344,7 @@ lopec_setup_arch(void) ...@@ -344,7 +344,7 @@ lopec_setup_arch(void)
if (bootargs != NULL) { if (bootargs != NULL) {
strcpy(cmd_line, bootargs); strcpy(cmd_line, bootargs);
/* again.. */ /* again.. */
strcpy(saved_command_line, cmd_line); strcpy(boot_command_line, cmd_line);
} }
} }
#endif #endif
......
...@@ -592,7 +592,7 @@ static void __init pplus_setup_arch(void) ...@@ -592,7 +592,7 @@ static void __init pplus_setup_arch(void)
if (bootargs != NULL) { if (bootargs != NULL) {
strcpy(cmd_line, bootargs); strcpy(cmd_line, bootargs);
/* again.. */ /* again.. */
strcpy(saved_command_line, cmd_line); strcpy(boot_command_line, cmd_line);
} }
} }
#endif #endif
......
...@@ -634,7 +634,7 @@ static void __init prep_init_sound(void) ...@@ -634,7 +634,7 @@ static void __init prep_init_sound(void)
/* /*
* Find a way to push these informations to the cs4232 driver * Find a way to push these informations to the cs4232 driver
* Give it out with printk, when not in cmd_line? * Give it out with printk, when not in cmd_line?
* Append it to cmd_line and saved_command_line? * Append it to cmd_line and boot_command_line?
* Format is cs4232=io,irq,dma,dma2 * Format is cs4232=io,irq,dma,dma2
*/ */
} }
...@@ -897,7 +897,7 @@ prep_setup_arch(void) ...@@ -897,7 +897,7 @@ prep_setup_arch(void)
if (bootargs != NULL) { if (bootargs != NULL) {
strcpy(cmd_line, bootargs); strcpy(cmd_line, bootargs);
/* again.. */ /* again.. */
strcpy(saved_command_line, cmd_line); strcpy(boot_command_line, cmd_line);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment