]> err.no Git - linux-2.6/commitdiff
[PATCH] Dynamic kernel command-line: ppc
authorAlon Bar-Lev <alon.barlev@gmail.com>
Mon, 12 Feb 2007 08:54:18 +0000 (00:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:39 +0000 (09:48 -0800)
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>
arch/ppc/kernel/setup.c
arch/ppc/platforms/lopec.c
arch/ppc/platforms/pplus.c
arch/ppc/platforms/prep_setup.c

index 3c506af1988085393265aeb5a30c6755b7ce220a..c79704f5409c52a14db7fd7576c49985a6618e38 100644 (file)
@@ -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();
index 18dc6e8dd4f40d9712de5a88fb4e125de83434f7..b947c774f52485794b6ce2fb1976febbc0d44d02 100644 (file)
@@ -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
index 9778105d4dfeaaca72ab5f67718cb55e9e0c0631..8a1788c48155459da8b854ef144a4f87267ae102 100644 (file)
@@ -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
index 1cb75a1f825e4a431589a4940772308c44381d5f..f166299571d63a962e4008c48e988d29d7d51cc5 100644 (file)
@@ -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
         */
 }
@@ -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);
                }
        }