Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a06cdb56 authored by Jean Delvare's avatar Jean Delvare Committed by Avi Kivity
Browse files

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
2986b8c7.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent e44a21b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static int __init kvmppc_e500_init(void)
	return kvm_init(NULL, sizeof(struct kvmppc_vcpu_e500), 0, THIS_MODULE);
}

static void __init kvmppc_e500_exit(void)
static void __exit kvmppc_e500_exit(void)
{
	kvmppc_booke_exit();
}