Commit a06cdb5676272a12056820aeb49a1416ad2d0c6f

Authored by Jean Delvare
Committed by Avi Kivity
1 parent e44a21b726

KVM: powerpc: fix init/exit annotation

kvmppc_e500_exit() is a module_exit function, so it should be tagged
with __exit, not __init. The incorrect annotation was added by commit
2986b8c72c272ea58edd37903b042c6da985627d.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/powerpc/kvm/e500.c
... ... @@ -164,7 +164,7 @@
164 164 return kvm_init(NULL, sizeof(struct kvmppc_vcpu_e500), 0, THIS_MODULE);
165 165 }
166 166  
167   -static void __init kvmppc_e500_exit(void)
  167 +static void __exit kvmppc_e500_exit(void)
168 168 {
169 169 kvmppc_booke_exit();
170 170 }