Skip to content

Commit b056806

Browse files
author
Fox Snowpatch
committed
1 parent 5c2c0ba commit b056806

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/powerpc/kernel/setup-common.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
#include <asm/kasan.h>
6969
#include <asm/mce.h>
7070
#include <asm/systemcfg.h>
71+
#include <linux/kmsg_dump.h>
7172

7273
#include "setup.h"
7374

@@ -748,6 +749,8 @@ static int ppc_panic_fadump_handler(struct notifier_block *this,
748749
* If firmware-assisted dump has been registered then trigger
749750
* its callback and let the firmware handles everything else.
750751
*/
752+
kmsg_dump_desc(KMSG_DUMP_PANIC, (char *)ptr);
753+
751754
crash_fadump(NULL, ptr);
752755

753756
return NOTIFY_DONE;

0 commit comments

Comments
 (0)