aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorRaghavendra D Prabhu <rprabhu@wnohang.net>2011-07-09 21:59:07 +0530
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-07-11 13:37:04 -0400
commit3c52b7bf6967e53dec3fbbcf99fee65e49e600df (patch)
treed3995473bae6373db8d7a8c8ae8ec4c6c716ff93 /arch/x86/xen
parentxen/pci: Move check for acpi_sci_override_gsi to xen_setup_acpi_sci. (diff)
downloadlinux-dev-3c52b7bf6967e53dec3fbbcf99fee65e49e600df.tar.xz
linux-dev-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>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/platform-pci-unplug.c2
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;