Skip to content

Commit

Permalink
[PATCH] Dynamic kernel command-line: ppc
Browse files Browse the repository at this point in the history
Rename saved_command_line into boot_command_line.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Alon Bar-Lev authored and Linus Torvalds committed Feb 12, 2007
1 parent b8757b2 commit bf71cec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/ppc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p)
init_mm.brk = (unsigned long) klimit;

/* 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;

parse_early_param();
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/lopec.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ lopec_setup_arch(void)
if (bootargs != NULL) {
strcpy(cmd_line, bootargs);
/* again.. */
strcpy(saved_command_line, cmd_line);
strcpy(boot_command_line, cmd_line);
}
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/pplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ static void __init pplus_setup_arch(void)
if (bootargs != NULL) {
strcpy(cmd_line, bootargs);
/* again.. */
strcpy(saved_command_line, cmd_line);
strcpy(boot_command_line, cmd_line);
}
}
#endif
Expand Down
4 changes: 2 additions & 2 deletions arch/ppc/platforms/prep_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ static void __init prep_init_sound(void)
/*
* Find a way to push these informations to the cs4232 driver
* 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
*/
}
Expand Down Expand Up @@ -897,7 +897,7 @@ prep_setup_arch(void)
if (bootargs != NULL) {
strcpy(cmd_line, bootargs);
/* again.. */
strcpy(saved_command_line, cmd_line);
strcpy(boot_command_line, cmd_line);
}
}

Expand Down

0 comments on commit bf71cec

Please sign in to comment.