linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kvm/powerpc: fix a build error in e500_tlb.c
@ 2010-06-03  5:52 Kevin Hao
  2010-06-04 14:08 ` Alexander Graf
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hao @ 2010-06-03  5:52 UTC (permalink / raw)
  To: Marcelo Tosatti, Kumar Gala, Avi Kivity, Alexander Graf; +Cc: linuxppc-dev, kvm

We use the wrong number arguments when invoking trace_kvm_stlb_inval,
and cause the following build error.
arch/powerpc/kvm/e500_tlb.c: In function 'kvmppc_e500_stlbe_invalidate':
arch/powerpc/kvm/e500_tlb.c:230: error: too many arguments to function 'trace_kvm_stlb_inval'

Signed-off-by: Kevin Hao <haokexin@gmail.com>
---
 arch/powerpc/kvm/e500_tlb.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kvm/e500_tlb.c b/arch/powerpc/kvm/e500_tlb.c
index 21011e1..1261a21 100644
--- a/arch/powerpc/kvm/e500_tlb.c
+++ b/arch/powerpc/kvm/e500_tlb.c
@@ -226,8 +226,7 @@ static void kvmppc_e500_stlbe_invalidate(struct kvmppc_vcpu_e500 *vcpu_e500,
 
 	kvmppc_e500_shadow_release(vcpu_e500, tlbsel, esel);
 	stlbe->mas1 = 0;
-	trace_kvm_stlb_inval(index_of(tlbsel, esel), stlbe->mas1, stlbe->mas2,
-			     stlbe->mas3, stlbe->mas7);
+	trace_kvm_stlb_inval(index_of(tlbsel, esel));
 }
 
 static void kvmppc_e500_tlb1_invalidate(struct kvmppc_vcpu_e500 *vcpu_e500,
-- 
1.6.3.1

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

* Re: [PATCH] kvm/powerpc: fix a build error in e500_tlb.c
  2010-06-03  5:52 [PATCH] kvm/powerpc: fix a build error in e500_tlb.c Kevin Hao
@ 2010-06-04 14:08 ` Alexander Graf
  2010-06-07  4:14   ` Liu Yu-B13201
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2010-06-04 14:08 UTC (permalink / raw)
  To: Kevin Hao
  Cc: kvm@vger.kernel.org list, Marcelo Tosatti, linuxppc-dev,
	Avi Kivity


On 03.06.2010, at 07:52, Kevin Hao wrote:

> We use the wrong number arguments when invoking trace_kvm_stlb_inval,
> and cause the following build error.
> arch/powerpc/kvm/e500_tlb.c: In function =
'kvmppc_e500_stlbe_invalidate':
> arch/powerpc/kvm/e500_tlb.c:230: error: too many arguments to function =
'trace_kvm_stlb_inval'

Liu, I'd like to get an ack from you here.

Alex

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

* RE: [PATCH] kvm/powerpc: fix a build error in e500_tlb.c
  2010-06-04 14:08 ` Alexander Graf
@ 2010-06-07  4:14   ` Liu Yu-B13201
  0 siblings, 0 replies; 3+ messages in thread
From: Liu Yu-B13201 @ 2010-06-07  4:14 UTC (permalink / raw)
  To: Alexander Graf, Kevin Hao; +Cc: linuxppc-dev, Marcelo Tosatti, kvm, Avi Kivity

=20

> -----Original Message-----
> From: kvm-owner@vger.kernel.org=20
> [mailto:kvm-owner@vger.kernel.org] On Behalf Of Alexander Graf
> Sent: Friday, June 04, 2010 10:08 PM
> To: Kevin Hao
> Cc: Marcelo Tosatti; Kumar Gala; Avi Kivity;=20
> kvm@vger.kernel.org list; linuxppc-dev@ozlabs.org; Liu Yu-B13201
> Subject: Re: [PATCH] kvm/powerpc: fix a build error in e500_tlb.c
>=20
>=20
> On 03.06.2010, at 07:52, Kevin Hao wrote:
>=20
> > We use the wrong number arguments when invoking=20
> trace_kvm_stlb_inval,
> > and cause the following build error.
> > arch/powerpc/kvm/e500_tlb.c: In function=20
> 'kvmppc_e500_stlbe_invalidate':
> > arch/powerpc/kvm/e500_tlb.c:230: error: too many arguments=20
> to function 'trace_kvm_stlb_inval'
>=20
> Liu, I'd like to get an ack from you here.
>=20

Seems commit e43f2f741a49483034bf968841275cfa553a4cb3 has solved this.

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03  5:52 [PATCH] kvm/powerpc: fix a build error in e500_tlb.c Kevin Hao
2010-06-04 14:08 ` Alexander Graf
2010-06-07  4:14   ` Liu Yu-B13201

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).