From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH] xen/pci: Fix build on non-x86 Date: Thu, 2 Jan 2014 11:50:40 +0000 Message-ID: <52C55290.8070703@citrix.com> References: <1388519187.2900.99.camel@deadeye.wl.decadent.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VygnV-0006py-Hi for xen-devel@lists.xenproject.org; Thu, 02 Jan 2014 11:50:45 +0000 In-Reply-To: <1388519187.2900.99.camel@deadeye.wl.decadent.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ben Hutchings Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org On 31/12/13 19:46, Ben Hutchings wrote: > We can't include if this isn't x86, and we only need > it if CONFIG_PCI_MMCONFIG is enabled. > > Fixes: 8deb3eb1461e ('xen/mcfg: Call PHYSDEVOP_pci_mmcfg_reserved for MCFG areas.') > Signed-off-by: Ben Hutchings Reviewed-by: David Vrabel > --- a/drivers/xen/pci.c > +++ b/drivers/xen/pci.c > @@ -26,7 +26,9 @@ > #include > #include > #include "../pci/pci.h" > +#ifdef CONFIG_PCI_MMCONFIG > #include > +#endif > > static bool __read_mostly pci_seg_supported = true;