From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Build fail on stable-2.6.32-x Date: Mon, 20 Sep 2010 12:19:39 -0400 Message-ID: <20100920161939.GC15129@dumpdata.com> References: <789F9655DD1B8F43B48D77C5D30659732A2FF419@shsmsx501.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <789F9655DD1B8F43B48D77C5D30659732A2FF419@shsmsx501.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jiang, Yunhong" Cc: Jeremy Fitzhardinge , xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, Sep 13, 2010 at 05:30:01PM +0800, Jiang, Yunhong wrote: > Jeremy, when I try to build the stable-2.6.32-x, I got a build failure. The reason is, I didn't config CONFIG_PCI_XEN (the CONFIG_PCI_MSI is cofigured), which cause build failure because the xen_create_msi_irq() is defined in both drivers/xen/events.c and arch/x86/include/asm/xen/pci.h in such configuration. So for that to be set you had to unset DOM0 support, right? > > I didn't check the code in details, so I have no patch for it, can you please have a check for it? I asume guard the function in event.c with CONFIG_PCI_XEN should make things work. Hm, I thought I posted a patch for this some time ago. The patch I posted was "[PATCH] compile error when CONFIG_XEN_DOM0=n && CONFIG_XEN=y" I am not able to reproduce your build failure. Can you attach your .config file?