summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2012-01-14 12:23:26 +0530
committerVarun Colbert <vcolbert@nvidia.com>2012-01-19 16:15:23 -0800
commitb389336a8a3813d8c0bf62f98b4a9b57093cfcfc (patch)
tree50c4903c2639f117c0f75322c764402da552551e /drivers/staging
parent590f5e672f834e08373aff52bd191deacf365920 (diff)
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. cherry-pick a65e28a0149261776678977962cfa0f90973e1d4 from https://android.googlesource.com/kernel/common.git Change-Id: I8b83014a95fade7200e5201c29fb6624e1140aaf Signed-off-by: Dima Zavin <dima@android.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/75460 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/staging')
-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 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,
};