From: Jean Delvare <khali@linux-fr.org>
To: kvm-ppc@vger.kernel.org
Subject: [PATCH] KVM: powerpc: fix init/exit annotation
Date: Tue, 18 May 2010 07:34:12 +0000 [thread overview]
Message-ID: <20100518093412.0588a8c4@hyperion.delvare> (raw)
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: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Avi Kivity <avi@redhat.com>
Cc: stable@kernel.org
---
arch/powerpc/kvm/e500.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.34.orig/arch/powerpc/kvm/e500.c 2010-05-17 18:51:04.000000000 +0200
+++ linux-2.6.34/arch/powerpc/kvm/e500.c 2010-05-18 09:21:08.000000000 +0200
@@ -164,7 +164,7 @@ static int __init kvmppc_e500_init(void)
return kvm_init(NULL, sizeof(struct kvmppc_vcpu_e500), THIS_MODULE);
}
-static void __init kvmppc_e500_exit(void)
+static void __exit kvmppc_e500_exit(void)
{
kvmppc_booke_exit();
}
--
Jean Delvare
next reply other threads:[~2010-05-18 7:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 7:34 Jean Delvare [this message]
2010-05-18 7:59 ` [PATCH] KVM: powerpc: fix init/exit annotation Mu Lin
2010-05-18 8:42 ` Jean Delvare
[not found] ` <20100518093412.0588a8c4-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-05-18 9:08 ` Alexander Graf
2010-05-19 17:16 ` Avi Kivity
2010-06-06 11:03 ` Jean Delvare
2010-06-06 13:07 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100518093412.0588a8c4@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=kvm-ppc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox