From: Stephen Rothwell Date: Tue, 2 Jun 2009 01:46:14 +0000 (+1000) Subject: KVM: powerpc: fix some init/exit annotations X-Git-Tag: v2.6.32-rc1~693^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2986b8c72c272ea58edd37903b042c6da985627d;p=pandora-kernel.git KVM: powerpc: fix some init/exit annotations Fixes a couple of warnings like this one: WARNING: arch/powerpc/kvm/kvm-440.o(.text+0x1e8c): Section mismatch in reference from the function kvmppc_44x_exit() to the function .exit.text:kvmppc_booke_exit() The function kvmppc_44x_exit() references a function in an exit section. Often the function kvmppc_booke_exit() has valid usage outside the exit section and the fix is to remove the __exit annotation of kvmppc_booke_exit. Also add some __init annotations on obvious routines. Signed-off-by: Stephen Rothwell Signed-off-by: Avi Kivity --- Reading git-diff-tree failed