summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2012-03-07 17:34:28 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-07 18:32:40 -0800
commit74f6736ecfbbbe9e7ebf9ba52475b6cb39c44f75 (patch)
tree97624312c176af3a941cba6c89c65855b7c3619a /drivers
parent97d5cb094cd2fb3e646b4a8cbc30445e61d62ef8 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/android/ram_console.c2
1 files changed, 1 insertions, 1 deletions
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,
};