Skip to contentSkip to conversation

ia64 allmodconfig in linux-next

DISCUSSION Andrew Morton 2 participants 3 messages Mar 4, 2009

lore
Share & tools
lore
#0 lore raw

KVM broke yet again.

arch/ia64/kvm/kvm-ia64.c:1839: error: conflicting types for 'kvm_get_lowest_prio_vcpu' virt/kvm/ioapic.h:68: error: previous declaration of 'kvm_get_lowest_prio_vcpu' was here arch/ia64/kvm/kvm-ia64.c:1839: error: conflicting types for 'kvm_get_lowest_prio_vcpu' virt/kvm/ioapic.h:68: error: previous declaration of 'kvm_get_lowest_prio_vcpu' was here

#1 lore raw
Quoted 8 lines · Andrew Morton

KVM broke yet again.

arch/ia64/kvm/kvm-ia64.c:1839: error: conflicting types for 'kvm_get_lowest_prio_vcpu' virt/kvm/ioapic.h:68: error: previous declaration of 'kvm_get_lowest_prio_vcpu' was here arch/ia64/kvm/kvm-ia64.c:1839: error: conflicting types for 'kvm_get_lowest_prio_vcpu' virt/kvm/ioapic.h:68: error: previous declaration of 'kvm_get_lowest_prio_vcpu' was here

Hi, Andrew
We already had the fix for the issue, attached the patch. Thanks!

Xiantao

hi
please review it
Thanks

From d2ab64761b5e04895e61c052f8fb36d6998d5776 Mon Sep 17 00:00:00 2001
From: Yang Zhang <[email protected]>
Date: Mon, 2 Mar 2009 22:06:41 -0500
Subject: [PATCH] KVM : IA64: fix compilation error for kvm ia64

Modify the arg of kvm_get_lowest_prio_vcpu().
Make it consistent with its declaration.

---
 arch/ia64/kvm/kvm-ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kvm/kvm-ia64.c +1 -1
index 076b00d..868b14f 100644
@@ -1835,7 +1835,7 @@ int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u8 mda)
 }
 
 struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector,
-				       unsigned long bitmap)
+				       unsigned long *bitmap)
 {
 	struct kvm_vcpu *lvcpu = kvm->vcpus[0];
 	int i;
Signature · 1 line
1.6.0.rc1

From d2ab64761b5e04895e61c052f8fb36d6998d5776 Mon Sep 17 00:00:00 2001
From: Yang Zhang <[email protected]>
Date: Mon, 2 Mar 2009 22:06:41 -0500
Subject: [PATCH] KVM : IA64: fix compilation error for kvm ia64

Modify the arg of kvm_get_lowest_prio_vcpu().
Make it consistent with its declaration.

---
 arch/ia64/kvm/kvm-ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kvm/kvm-ia64.c +1 -1
index 076b00d..868b14f 100644
@@ -1835,7 +1835,7 @@ int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u8 mda)
 }
 
 struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector,
-				       unsigned long bitmap)
+				       unsigned long *bitmap)
 {
 	struct kvm_vcpu *lvcpu = kvm->vcpus[0];
 	int i;
Signature · 1 line
1.6.0.rc1

From d2ab64761b5e04895e61c052f8fb36d6998d5776 Mon Sep 17 00:00:00 2001
From: Yang Zhang <[email protected]>
Date: Mon, 2 Mar 2009 22:06:41 -0500
Subject: [PATCH] KVM : IA64: fix compilation error for kvm ia64

Modify the arg of kvm_get_lowest_prio_vcpu().
Make it consistent with its declaration.

---
 arch/ia64/kvm/kvm-ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kvm/kvm-ia64.c +1 -1
index 076b00d..868b14f 100644
@@ -1835,7 +1835,7 @@ int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u8 mda)
 }
 
 struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector,
-				       unsigned long bitmap)
+				       unsigned long *bitmap)
 {
 	struct kvm_vcpu *lvcpu = kvm->vcpus[0];
 	int i;
Signature · 1 line
1.6.0.rc1
#2 lore raw
In reply to Andrew Morton

Seems Marcelo has picked the patches to kvm.git.
Xiantao

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Zhang, Xiantao
Sent: Wednesday, March 04, 2009 8:54 AM
To: Andrew Morton; [email protected]
Cc: Avi Kivity; Zhang, Yang
Subject: RE: ia64 allmodconfig in linux-next

Quoted 8 lines · Andrew Morton

KVM broke yet again.

arch/ia64/kvm/kvm-ia64.c:1839: error: conflicting types for 'kvm_get_lowest_prio_vcpu' virt/kvm/ioapic.h:68: error: previous declaration of 'kvm_get_lowest_prio_vcpu' was here arch/ia64/kvm/kvm-ia64.c:1839: error: conflicting types for 'kvm_get_lowest_prio_vcpu' virt/kvm/ioapic.h:68: error: previous declaration of 'kvm_get_lowest_prio_vcpu' was here

Hi, Andrew
We already had the fix for the issue, attached the patch. Thanks!

Xiantao