RE: ia64 allmodconfig in linux-next

"Zhang, Xiantao" <[email protected]>
Newsgroups org.kernel.vger.kvm-ia64
Message-ID <706158FABBBA044BAD4FE898A02E4BC22435B258@pdsmsx503.ccr.corp.intel.com>
Andrew Morton wrote:
> 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!

	Acked-by: Xiantao Zhang <[email protected]>

Xiantao
(unnamed) (message/rfc822, 3.9 KB) - not displayed
0001-KVM-IA64-fix-compilation-error-for-kvm-ia64.patch (application/octet-stream, 898 B)
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.

Signed-off-by: Yang Zhang <[email protected]>
---
 arch/ia64/kvm/kvm-ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 076b00d..868b14f 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -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;
-- 
1.6.0.rc1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.