summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/misc/apanic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/apanic.c b/drivers/misc/apanic.c
index 7a5e1251b363..1872da10e156 100644
--- a/drivers/misc/apanic.c
+++ b/drivers/misc/apanic.c
@@ -459,6 +459,8 @@ static int apanic(struct notifier_block *this, unsigned long event,
if (!threads_offset)
threads_offset = ctx->mtd->writesize;
+ /* Disable ramconsole */
+ printk(KERN_EMERG "!@#$ RAMCONSOLE_DISABLE $#@!");
log_buf_clear();
show_state_filter(0);
threads_len = apanic_write_console(ctx->mtd, threads_offset);