KVM: powerpc: fix some init/exit annotations
commit2986b8c72c272ea58edd37903b042c6da985627d
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Jun 2009 01:46:14 +0000 (2 11:46 +1000)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:44 +0000 (10 08:32 +0300)
tree5cbf6e5a353299df2a50a8174970008008647a57
parent6c8166a77c98f473eb91e96a61c3cf78ac617278
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 <sfr@canb.auug.org.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/44x.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/e500.c