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
kmsg_dump: Dump on crash_kexec as well
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
printk.c
diff --git
a/kernel/printk.c
b/kernel/printk.c
index 1ded8e7dd19b5fde61542b950ba3bb2d41f0690b..2c9dc0b03a5e6880048af5058a7a9082fbc0770e 100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-1467,6
+1467,7
@@
EXPORT_SYMBOL_GPL(kmsg_dump_unregister);
static const char const *kmsg_reasons[] = {
[KMSG_DUMP_OOPS] = "oops",
[KMSG_DUMP_PANIC] = "panic",
+ [KMSG_DUMP_KEXEC] = "kexec",
};
static const char *kmsg_to_str(enum kmsg_dump_reason reason)