]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1ad1ac3b234630c2c47c555fb19aba989c64771
treed3995473bae6373db8d7a8c8ae8ec4c6c716ff93
parentc55fc863f65291e71fc6062d98352e27bb62d0d8
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