Commit 3c52b7bf authored by Raghavendra D Prabhu's avatar Raghavendra D Prabhu Committed by Konrad Rzeszutek Wilk

xen:pvhvm: Modpost section mismatch fix

Removing __init from check_platform_magic since it is called by
xen_unplug_emulated_devices in non-init contexts (It probably gets inlined
because of -finline-functions-called-once, removing __init is more to avoid
mismatch being reported).
Signed-off-by: default avatarRaghavendra D Prabhu <rprabhu@wnohang.net>
Acked-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent ee339fe6
...@@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(xen_platform_pci_unplug); ...@@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(xen_platform_pci_unplug);
#ifdef CONFIG_XEN_PVHVM #ifdef CONFIG_XEN_PVHVM
static int xen_emul_unplug; static int xen_emul_unplug;
static int __init check_platform_magic(void) static int check_platform_magic(void)
{ {
short magic; short magic;
char protocol; char protocol;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment