From: Dima Zavin Date: Thu, 8 Mar 2012 01:34:28 +0000 (-0800) Subject: staging: android: ram_console: set CON_ANYTIME console flag X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74f6736ecfbbbe9e7ebf9ba52475b6cb39c44f75;p=mv-sheeva.git staging: android: ram_console: set CON_ANYTIME console flag 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: Android Kernel Team Signed-off-by: Dima Zavin Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c index fabd398ec1b..f01a0c45080 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, };