From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: PPC: Fix compile warning Date: Thu, 25 Nov 2010 11:36:09 +0200 Message-ID: <4CEE2E09.6040504@redhat.com> References: <1290677144-15152-1-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM list To: Alexander Graf Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30428 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047Ab0KYJgR (ORCPT ); Thu, 25 Nov 2010 04:36:17 -0500 In-Reply-To: <1290677144-15152-1-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On 11/25/2010 11:25 AM, Alexander Graf wrote: > KVM compilation fails with the following warning: > > include/linux/kvm_host.h: In function 'kvm_irq_routing_update': > include/linux/kvm_host.h:679:2: error: 'struct kvm' has no member named 'irq_routing' > > That function is only used and reasonable to have on systems that implement > an in-kernel interrupt chip. PPC doesn't. > > Fix by #ifdef'ing it out when no irqchip is available. > Applied, thanks. Let's see how buildbot takes it. -- error compiling committee.c: too many arguments to function