[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180123164041.30339-4-marcandre.lureau@redhat.com>
Date: Tue, 23 Jan 2018 17:40:40 +0100
From: Marc-André Lureau <marcandre.lureau@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: bhe@...hat.com, slp@...hat.com, mst@...hat.com, somlo@....edu,
xiaolong.ye@...el.com, peterx@...hat.com, qemu-devel@...gnu.org,
Marc-André Lureau <marcandre.lureau@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Dave Young <dyoung@...hat.com>,
Hari Bathini <hbathini@...ux.vnet.ibm.com>,
Tony Luck <tony.luck@...el.com>,
Vivek Goyal <vgoyal@...hat.com>
Subject: [PATCH v10 3/4] 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 <akpm@...ux-foundation.org>
CC: Baoquan He <bhe@...hat.com>
CC: Dave Young <dyoung@...hat.com>
CC: Dave Young <dyoung@...hat.com>
CC: Hari Bathini <hbathini@...ux.vnet.ibm.com>
CC: Tony Luck <tony.luck@...el.com>
CC: Vivek Goyal <vgoyal@...hat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@...hat.com>
Acked-by: Gabriel Somlo <somlo@....edu>
---
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
Powered by blists - more mailing lists