xen:pvhvm: Modpost section mismatch fix
authorRaghavendra D Prabhu <rprabhu@wnohang.net>
Sat, 9 Jul 2011 16:29:07 +0000 (21:59 +0530)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 11 Jul 2011 17:37:04 +0000 (13:37 -0400)
commit3c52b7bf6967e53dec3fbbcf99fee65e49e600df
treed3995473bae6373db8d7a8c8ae8ec4c6c716ff93
parentee339fe63ac408e4604c1c88b1f9a428f2511b70
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>
arch/x86/xen/platform-pci-unplug.c