Skip to content

Commit

Permalink
KVM: powerpc: fix init/exit annotation
Browse files Browse the repository at this point in the history
kvmppc_e500_exit() is a module_exit function, so it should be tagged
with __exit, not __init. The incorrect annotation was added by commit
2986b8c.

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>
  • Loading branch information
Jean Delvare authored and Avi Kivity committed Jun 9, 2010
1 parent e44a21b commit a06cdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/e500.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit a06cdb5

Please sign in to comment.