diff options
author | San Mehat <san@google.com> | 2009-09-14 14:53:56 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-09-16 12:40:18 -0700 |
commit | 5dc3d578c42e291781ea7f7529483253aa4283c9 (patch) | |
tree | e50e3ea0417d32c8385efcdcbebe63c34e8a98cb /drivers/misc | |
parent | 70416fa2dd0095639fd9213b6d923ad442d87ec9 (diff) |
apanic: Send magic sequence to suspend ramconsole before we start dumping threads
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/apanic.c | 2 |
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); |