2017-10-31 15:21:47

by Marc-André Lureau

[permalink] [raw]
Subject: [PATCH v4 4/5] crash: export paddr_vmcoreinfo_note()

The following patch is going to use the symbol from the fw_cfg module.

Signed-off-by: Marc-André Lureau <[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 6db80fc0810b..47541c891810 100644
--- a/kernel/crash_core.c
+++ b/kernel/crash_core.c
@@ -375,6 +375,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.15.0.rc0.40.gaefcc5f6f


From 1584045305845888054@xxx Tue Nov 14 12:42:04 +0000 2017
X-GM-THRID: 1584045305845888054
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread