From: Marc-André Lureau Date: Wed, 28 Feb 2018 15:06:13 +0000 (+0100) Subject: crash: export paddr_vmcoreinfo_note() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=43d4cb47f6e854ea9fe868eedf8281f81b5a1252;p=linux.git crash: export paddr_vmcoreinfo_note() 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 CC: Hari Bathini CC: Tony Luck CC: Vivek Goyal Acked-by: Baoquan He Acked-by: Dave Young Signed-off-by: Marc-André Lureau Acked-by: Gabriel Somlo Signed-off-by: Michael S. Tsirkin --- diff --git a/kernel/crash_core.c b/kernel/crash_core.c index 4f63597c824df..a93590cdd9e16 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) {