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 <kernel-team@android.com>
Signed-off-by: Dima Zavin <dima@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dima Zavin 2012-03-07 17:34:28 -08:00 committed by Greg Kroah-Hartman
parent 97d5cb094c
commit 74f6736ecf
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ ram_console_write(struct console *console, const char *s, unsigned int count)
static struct console ram_console = { static struct console ram_console = {
.name = "ram", .name = "ram",
.write = ram_console_write, .write = ram_console_write,
.flags = CON_PRINTBUFFER | CON_ENABLED, .flags = CON_PRINTBUFFER | CON_ENABLED | CON_ANYTIME,
.index = -1, .index = -1,
}; };