summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/prom_init_check.sh
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-19 21:44:56 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 10:09:48 +0400
commit817c21ad9a1f00926f080265493923ada3458c63 (patch)
tree84733af08a403e6f1c1846a2e9a21cf49276660d /arch/powerpc/kernel/prom_init_check.sh
parent27f4488872d9ef2a4b9aa2be58fb0789d6c0ba84 (diff)
downloadlinux-817c21ad9a1f00926f080265493923ada3458c63.tar.xz
powerpc/powernv: Get kernel command line accross OPAL takeover
We stash it in boot_command_line which isn't in BSS and so won't be overwritten. We then use that as a default cmd_line before we walk the device-tree. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_init_check.sh')
-rw-r--r--arch/powerpc/kernel/prom_init_check.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init_check.sh b/arch/powerpc/kernel/prom_init_check.sh
index 20af6aada517..70f4286eaa7a 100644
--- a/arch/powerpc/kernel/prom_init_check.sh
+++ b/arch/powerpc/kernel/prom_init_check.sh
@@ -21,7 +21,8 @@ _end enter_prom memcpy memset reloc_offset __secondary_hold
__secondary_hold_acknowledge __secondary_hold_spinloop __start
strcmp strcpy strlcpy strlen strncmp strstr logo_linux_clut224
reloc_got2 kernstart_addr memstart_addr linux_banner _stext
-opal_query_takeover opal_do_takeover opal_enter_rtas opal_secondary_entry"
+opal_query_takeover opal_do_takeover opal_enter_rtas opal_secondary_entry
+boot_command_line"
NM="$1"
OBJ="$2"