All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: powerpc: fix init/exit annotation
@ 2010-05-18  7:34 Jean Delvare
  2010-05-18  7:59 ` Mu Lin
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Jean Delvare @ 2010-05-18  7:34 UTC (permalink / raw)
  To: kvm-ppc

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH] KVM: powerpc: fix init/exit annotation
  2010-05-18  7:34 [PATCH] KVM: powerpc: fix init/exit annotation Jean Delvare
@ 2010-05-18  7:59 ` Mu Lin
  2010-05-18  8:42 ` Jean Delvare
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Mu Lin @ 2010-05-18  7:59 UTC (permalink / raw)
  To: kvm-ppc

Hi, All,

Is there a status summary somewhere about Linux KVM on powerpc?

I am interested in KVM on MPC8572 with e500 core, and how about e500mc?

Is there bench mark testing results?

Thanks

Mu
________________________________________
From: kvm-ppc-owner@vger.kernel.org [kvm-ppc-owner@vger.kernel.org] On Behalf Of Jean Delvare [khali@linux-fr.org]
Sent: Tuesday, May 18, 2010 12:34 AM
To: kvm-ppc@vger.kernel.org
Cc: Stephen Rothwell; Avi Kivity
Subject: [PATCH] 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: 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
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] KVM: powerpc: fix init/exit annotation
  2010-05-18  7:34 [PATCH] KVM: powerpc: fix init/exit annotation Jean Delvare
  2010-05-18  7:59 ` Mu Lin
@ 2010-05-18  8:42 ` Jean Delvare
       [not found] ` <20100518093412.0588a8c4-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Jean Delvare @ 2010-05-18  8:42 UTC (permalink / raw)
  To: kvm-ppc

Hi Mu,

Please don't top-post.

On Tue, 18 May 2010 00:59:20 -0700, Mu Lin wrote:
> Hi, All,
> 
> Is there a status summary somewhere about Linux KVM on powerpc?
> 
> I am interested in KVM on MPC8572 with e500 core, and how about e500mc?
> 
> Is there bench mark testing results?

Please don't hi-jack discussion threads. Your question is unrelated
with my patch, please start a new discussion thread.

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] KVM: powerpc: fix init/exit annotation
       [not found] ` <20100518093412.0588a8c4-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2010-05-18  9:08     ` Alexander Graf
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Graf @ 2010-05-18  9:08 UTC (permalink / raw)
  To: Jean Delvare
  Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA, Stephen Rothwell, Avi Kivity,
	kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org list


On 18.05.2010, at 09:34, Jean Delvare wrote:

> 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

Good catch!

Signed-off-by: Alexander Graf <agraf@suse.de>


Alex


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] KVM: powerpc: fix init/exit annotation
@ 2010-05-18  9:08     ` Alexander Graf
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Graf @ 2010-05-18  9:08 UTC (permalink / raw)
  To: Jean Delvare
  Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA, Stephen Rothwell, Avi Kivity,
	kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org list


On 18.05.2010, at 09:34, Jean Delvare wrote:

> 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-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
> Cc: Stephen Rothwell <sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
> Cc: Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Cc: stable-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org

Good catch!

Signed-off-by: Alexander Graf <agraf-l3A5Bk7waGM@public.gmane.org>


Alex

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] KVM: powerpc: fix init/exit annotation
  2010-05-18  7:34 [PATCH] KVM: powerpc: fix init/exit annotation Jean Delvare
                   ` (2 preceding siblings ...)
       [not found] ` <20100518093412.0588a8c4-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2010-05-19 17:16 ` Avi Kivity
  2010-06-06 11:03 ` Jean Delvare
  2010-06-06 13:07 ` Avi Kivity
  5 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2010-05-19 17:16 UTC (permalink / raw)
  To: kvm-ppc

On 05/18/2010 10:34 AM, Jean Delvare wrote:
> 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.
>    

Applied, thanks.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] KVM: powerpc: fix init/exit annotation
  2010-05-18  7:34 [PATCH] KVM: powerpc: fix init/exit annotation Jean Delvare
                   ` (3 preceding siblings ...)
  2010-05-19 17:16 ` Avi Kivity
@ 2010-06-06 11:03 ` Jean Delvare
  2010-06-06 13:07 ` Avi Kivity
  5 siblings, 0 replies; 8+ messages in thread
From: Jean Delvare @ 2010-06-06 11:03 UTC (permalink / raw)
  To: kvm-ppc

Hi Avi,

On Wed, 19 May 2010 20:16:35 +0300, Avi Kivity wrote:
> On 05/18/2010 10:34 AM, Jean Delvare wrote:
> > 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.
> 
> Applied, thanks.

Still not upstream?

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] KVM: powerpc: fix init/exit annotation
  2010-05-18  7:34 [PATCH] KVM: powerpc: fix init/exit annotation Jean Delvare
                   ` (4 preceding siblings ...)
  2010-06-06 11:03 ` Jean Delvare
@ 2010-06-06 13:07 ` Avi Kivity
  5 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2010-06-06 13:07 UTC (permalink / raw)
  To: kvm-ppc

On 06/06/2010 02:03 PM, Jean Delvare wrote:
> Hi Avi,
>
> On Wed, 19 May 2010 20:16:35 +0300, Avi Kivity wrote:
>    
>> On 05/18/2010 10:34 AM, Jean Delvare wrote:
>>      
>>> 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.
>>>        
>> Applied, thanks.
>>      
> Still not upstream?
>    

It's queued, will get there within a few days.


-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-06-06 13:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18  7:34 [PATCH] KVM: powerpc: fix init/exit annotation Jean Delvare
2010-05-18  7:59 ` 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-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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.