diff options
author | Raghavendra D Prabhu <rprabhu@wnohang.net> | 2011-07-09 18:29:07 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-07-11 19:37:04 +0200 |
commit | 3c52b7bf6967e53dec3fbbcf99fee65e49e600df (patch) | |
tree | d3995473bae6373db8d7a8c8ae8ec4c6c716ff93 | |
parent | xen/pci: Move check for acpi_sci_override_gsi to xen_setup_acpi_sci. (diff) | |
download | linux-3c52b7bf6967e53dec3fbbcf99fee65e49e600df.tar.xz linux-3c52b7bf6967e53dec3fbbcf99fee65e49e600df.zip |
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: Raghavendra D Prabhu <rprabhu@wnohang.net>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | arch/x86/xen/platform-pci-unplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c index 25c52f94a27c..ffcf2615640b 100644 --- a/arch/x86/xen/platform-pci-unplug.c +++ b/arch/x86/xen/platform-pci-unplug.c @@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(xen_platform_pci_unplug); #ifdef CONFIG_XEN_PVHVM static int xen_emul_unplug; -static int __init check_platform_magic(void) +static int check_platform_magic(void) { short magic; char protocol; |