panic: resume console if panic after console suspend.

Device rebooted by kernel panic but no panic message.
This helps to get the panic messages in this case.

Bug: 10184128
Change-Id: I24545b1ce2f9e3e239795089d8564c2cc5f89fe7
Signed-off-by: shihhao.feng <shihhao.feng@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
This commit is contained in:
Devin Kim
2013-09-09 13:01:19 -07:00
committed by Ed Tam
parent eff211bddf
commit 03053d709b
3 changed files with 12 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ extern int braille_register_console(struct console *, int index,
extern int braille_unregister_console(struct console *);
extern void console_sysfs_notify(void);
extern bool console_suspend_enabled;
extern int is_console_suspended(void);
/* Suspend and resume console messages over PM events */
extern void suspend_console(void);