diff options
author | Robin Getz <[email protected]> | 2009-07-09 13:08:37 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-07-10 12:24:47 +0200 |
commit | 8259cf4342029aad37660e524178c8858f48b0ab (patch) | |
tree | c0f7f931c6daca79a941dcab142cf49059a8722f /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 4d09161196c9a836eacea4b36e2f217bc34894cf (diff) |
printk: Ensure that "console enabled" messages are printed on the console
Today, when a console is registered without CON_PRINTBUFFER,
end users never see the announcement of it being added, and
never know if they missed something, if the console is really
at the start or not, and just leads to general confusion.
This re-orders existing code, to make sure the console is
added, before the "console [%s%d] enabled" is printed out -
ensuring that this message is _always_ seen.
This has the desired/intended side effect of making sure that
"console enabled:" messages are printed on the bootconsole, and
the real console. This does cause the same line is printed
twice if the bootconsole and real console are the same device,
but if they are on different devices, the message is printed to
both consoles.
Signed-off-by : Robin Getz <[email protected]>
Cc: "Andrew Morton" <[email protected]>
Cc: "Linus Torvalds" <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions