projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regulator: mp8865: add set_voltage_time_sel func
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
panic.c
diff --git
a/kernel/panic.c
b/kernel/panic.c
index f07bfc9fe613b598fa88c681696bbc8838e1cd3b..223564d3e1f8b61b9a1b8396961cd93dd426a6d7 100644
(file)
--- a/
kernel/panic.c
+++ b/
kernel/panic.c
@@
-160,8
+160,7
@@
void panic(const char *fmt, ...)
* panic() is not being callled from OOPS.
*/
debug_locks_off();
- console_trylock();
- console_unlock();
+ console_flush_on_panic();
if (!panic_blink)
panic_blink = no_blink;