diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/lopec.c | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/pplus.c | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/prep_setup.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index 3c506af19880..c79704f5409c 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p) | |||
543 | init_mm.brk = (unsigned long) klimit; | 543 | init_mm.brk = (unsigned long) klimit; |
544 | 544 | ||
545 | /* Save unparsed command line copy for /proc/cmdline */ | 545 | /* Save unparsed command line copy for /proc/cmdline */ |
546 | strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE); | 546 | strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); |
547 | *cmdline_p = cmd_line; | 547 | *cmdline_p = cmd_line; |
548 | 548 | ||
549 | parse_early_param(); | 549 | parse_early_param(); |
diff --git a/arch/ppc/platforms/lopec.c b/arch/ppc/platforms/lopec.c index 18dc6e8dd4f4..b947c774f524 100644 --- a/arch/ppc/platforms/lopec.c +++ b/arch/ppc/platforms/lopec.c | |||
@@ -344,7 +344,7 @@ lopec_setup_arch(void) | |||
344 | if (bootargs != NULL) { | 344 | if (bootargs != NULL) { |
345 | strcpy(cmd_line, bootargs); | 345 | strcpy(cmd_line, bootargs); |
346 | /* again.. */ | 346 | /* again.. */ |
347 | strcpy(saved_command_line, cmd_line); | 347 | strcpy(boot_command_line, cmd_line); |
348 | } | 348 | } |
349 | } | 349 | } |
350 | #endif | 350 | #endif |
diff --git a/arch/ppc/platforms/pplus.c b/arch/ppc/platforms/pplus.c index 9778105d4dfe..8a1788c48155 100644 --- a/arch/ppc/platforms/pplus.c +++ b/arch/ppc/platforms/pplus.c | |||
@@ -592,7 +592,7 @@ static void __init pplus_setup_arch(void) | |||
592 | if (bootargs != NULL) { | 592 | if (bootargs != NULL) { |
593 | strcpy(cmd_line, bootargs); | 593 | strcpy(cmd_line, bootargs); |
594 | /* again.. */ | 594 | /* again.. */ |
595 | strcpy(saved_command_line, cmd_line); | 595 | strcpy(boot_command_line, cmd_line); |
596 | } | 596 | } |
597 | } | 597 | } |
598 | #endif | 598 | #endif |
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index 1cb75a1f825e..f166299571d6 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -634,7 +634,7 @@ static void __init prep_init_sound(void) | |||
634 | /* | 634 | /* |
635 | * Find a way to push these informations to the cs4232 driver | 635 | * Find a way to push these informations to the cs4232 driver |
636 | * Give it out with printk, when not in cmd_line? | 636 | * Give it out with printk, when not in cmd_line? |
637 | * Append it to cmd_line and saved_command_line? | 637 | * Append it to cmd_line and boot_command_line? |
638 | * Format is cs4232=io,irq,dma,dma2 | 638 | * Format is cs4232=io,irq,dma,dma2 |
639 | */ | 639 | */ |
640 | } | 640 | } |
@@ -897,7 +897,7 @@ prep_setup_arch(void) | |||
897 | if (bootargs != NULL) { | 897 | if (bootargs != NULL) { |
898 | strcpy(cmd_line, bootargs); | 898 | strcpy(cmd_line, bootargs); |
899 | /* again.. */ | 899 | /* again.. */ |
900 | strcpy(saved_command_line, cmd_line); | 900 | strcpy(boot_command_line, cmd_line); |
901 | } | 901 | } |
902 | } | 902 | } |
903 | 903 | ||