aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2007-02-12 03:54:16 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:38 -0500
commit668f9931c812224ab2a6d57cdf2f0ec3865b68d2 (patch)
tree23d0cf10508d6a152acde7568a994993e6e40495 /arch/parisc/mm
parent43cd34645d3bf35cbaa68f28b85d12d0b9e08ab9 (diff)
[PATCH] Dynamic kernel command-line: parisc
1. Rename saved_command_line into boot_command_line. 2. Set command_line as __initdata. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r--arch/parisc/mm/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index 0c118e584e73..f355fb591e7f 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -77,12 +77,12 @@ static void __init mem_limit_func(void)
77{ 77{
78 char *cp, *end; 78 char *cp, *end;
79 unsigned long limit; 79 unsigned long limit;
80 extern char saved_command_line[]; 80 extern char __initdata boot_command_line[];
81 81
82 /* We need this before __setup() functions are called */ 82 /* We need this before __setup() functions are called */
83 83
84 limit = MAX_MEM; 84 limit = MAX_MEM;
85 for (cp = saved_command_line; *cp; ) { 85 for (cp = boot_command_line; *cp; ) {
86 if (memcmp(cp, "mem=", 4) == 0) { 86 if (memcmp(cp, "mem=", 4) == 0) {
87 cp += 4; 87 cp += 4;
88 limit = memparse(cp, &end); 88 limit = memparse(cp, &end);