projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae6604
)
apanic: do not depend on android ram console
author
黄涛
<huangtao@rock-chips.com>
Tue, 15 Nov 2011 02:36:32 +0000
(10:36 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Tue, 15 Nov 2011 13:24:12 +0000
(21:24 +0800)
drivers/misc/apanic.c
patch
|
blob
|
history
diff --git
a/drivers/misc/apanic.c
b/drivers/misc/apanic.c
index 4a9f48ac74802447b5d2397a7e819fe36ef36676..58cc36e25ada9587662f3595190d2709041868a8 100644
(file)
--- a/
drivers/misc/apanic.c
+++ b/
drivers/misc/apanic.c
@@
-548,7
+548,9
@@
static int apanic(struct notifier_block *this, unsigned long event,
if (!threads_offset)
threads_offset = ctx->mtd->writesize;
+#ifdef CONFIG_ANDROID_RAM_CONSOLE
ram_console_enable_console(0);
+#endif
log_buf_clear();
show_state_filter(0);