Skip to content

Commit

Permalink
crash: export paddr_vmcoreinfo_note()
Browse files Browse the repository at this point in the history
The following patch is going to use the symbol from the fw_cfg module,
to call the function and write the note location details in the
vmcoreinfo entry, so qemu can produce dumps with the vmcoreinfo note.

CC: Andrew Morton <[email protected]>
CC: Hari Bathini <[email protected]>
CC: Tony Luck <[email protected]>
CC: Vivek Goyal <[email protected]>
Acked-by: Baoquan He <[email protected]>
Acked-by: Dave Young <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
Acked-by: Gabriel Somlo <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
elmarco authored and mstsirkin committed Mar 20, 2018
1 parent 14d1824 commit 43d4cb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/crash_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ phys_addr_t __weak paddr_vmcoreinfo_note(void)
{
return __pa(vmcoreinfo_note);
}
EXPORT_SYMBOL(paddr_vmcoreinfo_note);

static int __init crash_save_vmcoreinfo_init(void)
{
Expand Down

0 comments on commit 43d4cb4

Please sign in to comment.