aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
-rw-r--r--arch/powerpc/kernel/prom.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 9a07f97f0712..4ca608c9cd72 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -1292,6 +1292,11 @@ void __init early_init_devtree(void *params)
1292 lmb_init(); 1292 lmb_init();
1293 of_scan_flat_dt(early_init_dt_scan_root, NULL); 1293 of_scan_flat_dt(early_init_dt_scan_root, NULL);
1294 of_scan_flat_dt(early_init_dt_scan_memory, NULL); 1294 of_scan_flat_dt(early_init_dt_scan_memory, NULL);
1295
1296 /* Save command line for /proc/cmdline and then parse parameters */
1297 strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE);
1298 parse_early_param();
1299
1295 lmb_enforce_memory_limit(memory_limit); 1300 lmb_enforce_memory_limit(memory_limit);
1296 lmb_analyze(); 1301 lmb_analyze();
1297 1302