aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
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);