aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-AndrĂ© Lureau <[email protected]>2018-02-28 16:06:13 +0100
committerMichael S. Tsirkin <[email protected]>2018-03-20 03:17:41 +0200
commit43d4cb47f6e854ea9fe868eedf8281f81b5a1252 (patch)
tree75714b6cc696bd98f0cf676407046bddcdbf0b13
parent14d1824c768d363f78e4b9e8a98b200aacc29c0f (diff)
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 <[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]>
-rw-r--r--kernel/crash_core.c1
1 files changed, 1 insertions, 0 deletions
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)
{