lkml.org 
[lkml]   [2012]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 01/11] android: ram_console: set CON_ANYTIME console flag
    Date
    From: Dima Zavin <dima@android.com>

    We want to ensure that we get all the console messages, even ones
    that occur while the printing CPU is not yet online.

    [jstultz: tweaked commit subject line]
    CC: Greg KH <gregkh@linuxfoundation.org>
    CC: Android Kernel Team <kernel-team@android.com>
    Signed-off-by: Dima Zavin <dima@android.com>
    Signed-off-by: John Stultz <john.stultz@linaro.org>
    ---
    drivers/staging/android/ram_console.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c
    index fabd398..f01a0c4 100644
    --- a/drivers/staging/android/ram_console.c
    +++ b/drivers/staging/android/ram_console.c
    @@ -143,7 +143,7 @@ ram_console_write(struct console *console, const char *s, unsigned int count)
    static struct console ram_console = {
    .name = "ram",
    .write = ram_console_write,
    - .flags = CON_PRINTBUFFER | CON_ENABLED,
    + .flags = CON_PRINTBUFFER | CON_ENABLED | CON_ANYTIME,
    .index = -1,
    };

    --
    1.7.3.2.146.gca209


    \
     
     \ /
      Last update: 2012-03-08 02:39    [W:0.022 / U:31.888 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site