diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-04-16 13:51:49 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-17 10:00:59 +1000 |
commit | 5faae2e5d1f53df9dce482032c8486bc3a1feffc (patch) | |
tree | d2e8dfc12d054c9cdc50b8fa7cf64707814f7e0f /arch/powerpc/mm/init_32.c | |
parent | 21cf91338fabe649ae3744429e13b61da2a17a6a (diff) |
[POWERPC] Always add preferred consoles in platforms/pseries/lpar.c
There is logic in platforms/peries/lpars.c which checks if the user has
specified a console on the command line, and refrains from adding a
preferred console entry for the hvc/hvsi console if they have.
This trips up if you use "netconsole=foo" on the command line, and has
the result that you get _only_ the netconsole, because the hvc device is
never added as a preferred console. Worse still if you get the netconsole
configuration wrong somehow, you end up with no console at all.
As it turns out we don't need to worry about checking the command line.
If the user has specified "console=foo", then foo will be set as the
preferred console when the command line is parsed in start_kernel(), much
later than the pseries code, and so the latter setting will take effect.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/init_32.c')
0 files changed, 0 insertions, 0 deletions