Skip to content

Commit

Permalink
staging: android: ram_console: set CON_ANYTIME console flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dima Zavin authored and Greg Kroah-Hartman committed Mar 8, 2012
1 parent 97d5cb0 commit 74f6736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/android/ram_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 74f6736

Please sign in to comment.