Re: [PATCH] kernel.printk.c - ensure that "console enabled"messages are printed on the console

From: Andrew Morton
Date: Fri Jul 17 2009 - 20:50:26 EST


On Fri, 10 Jul 2009 12:25:47 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Robin Getz <rgetz@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > From: Robin Getz <rgetz@xxxxxxxxxxxxxxxxxxxx>
> >
> > 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 <rgetz@xxxxxxxxxxxxxxxxxxxx>
> >
> > ---
> >
> > printk.c | 44 +++++++++++++++++++++++++++++---------------
> > 1 file changed, 29 insertions(+), 15 deletions(-)
> >
> > patch generated for -tip
>
> Looks good, applied it to tip:core/printk for v2.6.32, thanks Robin.
>

Seven days later, this isn't in linux-next. Did it get lost?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/