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
sched: Support for extracting EAS energy costs from DT
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
panic.c
diff --git
a/kernel/panic.c
b/kernel/panic.c
index 4b150bc0c6c111ee09f783eaa6aa101339f6ceec..41e2b54f36b5cdc73ecbda53a246662ba541ba57 100644
(file)
--- a/
kernel/panic.c
+++ b/
kernel/panic.c
@@
-157,8
+157,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;