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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 174e1e96175e..7b90c564e932 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -712,6 +712,13 @@ void __init early_init_devtree(void *params)
712 of_scan_flat_dt(early_init_dt_scan_phyp_dump, NULL); 712 of_scan_flat_dt(early_init_dt_scan_phyp_dump, NULL);
713#endif 713#endif
714 714
715 /* Pre-initialize the cmd_line with the content of boot_commmand_line,
716 * which will be empty except when the content of the variable has
717 * been overriden by a bootloading mechanism. This happens typically
718 * with HAL takeover
719 */
720 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE);
721
715 /* Retrieve various informations from the /chosen node of the 722 /* Retrieve various informations from the /chosen node of the
716 * device-tree, including the platform type, initrd location and 723 * device-tree, including the platform type, initrd location and
717 * size, TCE reserve, and more ... 724 * size, TCE reserve, and more ...