lkml.org 
[lkml]   [2010]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/6] tty/vt: add some KERN_CONT markers to continuation lines
    Date
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    ---
    drivers/tty/vt/vt.c | 10 +++++-----
    1 files changed, 5 insertions(+), 5 deletions(-)

    diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
    index a8ec48e..e4b05ad 100644
    --- a/drivers/tty/vt/vt.c
    +++ b/drivers/tty/vt/vt.c
    @@ -2930,11 +2930,11 @@ static int __init con_init(void)
    gotoxy(vc, vc->vc_x, vc->vc_y);
    csi_J(vc, 0);
    update_screen(vc);
    - printk("Console: %s %s %dx%d",
    + printk(KERN_DEFAULT "Console: %s %s %dx%d",
    vc->vc_can_do_color ? "colour" : "mono",
    display_desc, vc->vc_cols, vc->vc_rows);
    printable = 1;
    - printk("\n");
    + printk(KERN_CONT "\n");

    release_console_sem();

    @@ -3084,11 +3084,11 @@ static int bind_con_driver(const struct consw *csw, int first, int last,

    printk("Console: switching ");
    if (!deflt)
    - printk("consoles %d-%d ", first+1, last+1);
    + printk(KERN_CONT "consoles %d-%d ", first+1, last+1);
    if (j >= 0) {
    struct vc_data *vc = vc_cons[j].d;

    - printk("to %s %s %dx%d\n",
    + printk(KERN_CONT "to %s %s %dx%d\n",
    vc->vc_can_do_color ? "colour" : "mono",
    desc, vc->vc_cols, vc->vc_rows);

    @@ -3097,7 +3097,7 @@ static int bind_con_driver(const struct consw *csw, int first, int last,
    update_screen(vc);
    }
    } else
    - printk("to %s\n", desc);
    + printk(KERN_CONT "to %s\n", desc);

    retval = 0;
    err:
    --
    1.7.2.3
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-11-24 10:01    [W:0.026 / U:0.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site