OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70416fa
)
apanic: Send magic sequence to suspend ramconsole before we start dumping threads
author
San Mehat
<san@google.com>
Mon, 14 Sep 2009 21:53:56 +0000
(14:53 -0700)
committer
San Mehat
<san@google.com>
Wed, 16 Sep 2009 19:40:18 +0000
(12:40 -0700)
Signed-off-by: San Mehat <san@google.com>
drivers/misc/apanic.c
patch
|
blob
|
history
diff --git
a/drivers/misc/apanic.c
b/drivers/misc/apanic.c
index
7a5e125
..
1872da1
100644
(file)
--- 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);