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: Baoquan He <[email protected]> CC: Dave Young <[email protected]> CC: Dave Young <[email protected]> CC: Hari Bathini <[email protected]> CC: Tony Luck <[email protected]> CC: Vivek Goyal <[email protected]> Signed-off-by: Marc-André Lureau <[email protected]> Acked-by: Gabriel Somlo <[email protected]> --- kernel/crash_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/crash_core.c b/kernel/crash_core.c index 4f63597c824d..a93590cdd9e1 100644 --- a/kernel/crash_core.c +++ b/kernel/crash_core.c @@ -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) { -- 2.16.0.rc1.1.gef27df75a1

