From: Dima Zavin Date: Thu, 12 Jan 2012 23:55:25 +0000 (-0800) Subject: ram_console: set CON_ANYTIME console flag X-Git-Tag: firefly_0821_release~7613^2~198 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a65e28a0149261776678977962cfa0f90973e1d4;p=firefly-linux-kernel-4.4.55.git 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. Change-Id: I1d2694d05ac9415669a92f38efdd8e71c927705b Signed-off-by: Dima Zavin --- diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c index cb42d899822e..b278d62e4b89 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, };