From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935470AbaBDVxe (ORCPT ); Tue, 4 Feb 2014 16:53:34 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57057 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934347AbaBDVLP (ORCPT ); Tue, 4 Feb 2014 16:11:15 -0500 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ben Hutchings , Konrad Rzeszutek Wilk , David Vrabel , Ian Campbell Subject: [PATCH 3.13 004/140] xen/pci: Fix build on non-x86 Date: Tue, 4 Feb 2014 13:09:51 -0800 Message-Id: <20140204211037.096077243@linuxfoundation.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <20140204211036.967663852@linuxfoundation.org> References: <20140204211036.967663852@linuxfoundation.org> User-Agent: quilt/0.61-1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ben Hutchings commit b7ef4a6dd35d1b47db72fbd1a31c8fd0da7a74f3 upstream. 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 Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: David Vrabel Acked-by: Ian Campbell Signed-off-by: Greg Kroah-Hartman --- drivers/xen/pci.c | 2 ++ 1 file changed, 2 insertions(+) --- 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;