]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Get kernel command line accross OPAL takeover
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Sep 2011 17:44:56 +0000 (17:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 20 Sep 2011 06:09:48 +0000 (16:09 +1000)
commitbb0abc973bfe16865e6f5854e44f9808a14df520
tree84733af08a403e6f1c1846a2e9a21cf49276660d
parentefd8d5903e5dcdf398b41a16b7ac960dc5e4f1fa
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>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/kernel/prom_init_check.sh