From: Ben Hutchings Subject: [PATCH] xen/pci: Fix build on non-x86 Date: Tue, 31 Dec 2013 20:46:27 +0100 Message-ID: <1388519187.2900.99.camel@deadeye.wl.decadent.org.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8061009318079788812==" Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vy5I6-0008EU-Tm for xen-devel@lists.xenproject.org; Tue, 31 Dec 2013 19:47:51 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk , Boris Ostrovsky , David Vrabel Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --===============8061009318079788812== Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-znOs3B9FTBrR/E8htRxJ" --=-znOs3B9FTBrR/E8htRxJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 --- --- 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 =20 static bool __read_mostly pci_seg_supported =3D true; =20 --=20 Ben Hutchings Logic doesn't apply to the real world. - Marvin Minsky --=-znOs3B9FTBrR/E8htRxJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIVAwUAUsMfE+e/yOyVhhEJAQoOsQ//S/4MQ2prNRMGTFLPxNHQR7OWeBqLPElL bKg3aHtjm13RXCDIxCBOk83q54apthKd8hxzAJmEKrreH9er+GQ3kGXlTb/Un8VX ewWnkA20SowrXcarqR3AHGVlGXjYNFebMBYlVAQ5b8y/oE8KmGnEStbl5GIPhJUU vwFHYKY/jdn29LAk+oRJptpoKGGfdJ2NpfDa437RWnr0fm4WQP1GfGER6ELGJN5j JICVfwyuKuD2qWHwyxq71u4FszNQzpGQZJO2ECUZv424SYWh7GJ1IQnwH4YI/QbA cW44R8PCjNKENIdYRoW93CdmHbxidXDUlzu6sp4PHOFEICzRSUQNoZdalxWJCkmC JGUu6MCa+Hjn5S+zLzKFFe3DjZ6lwMeoTYM0guQ5HWEGEW0KAoqMLzfh5+jN9Ufc BASCXmxZCx+Ujr1I8n3VbqboCujy61itt2AEq7yM0kQwf5DbjMe+G7QW91dm1xyL cLbU8t/aqNcDk/E8gmgyInFLQGxCygiE6ykkBA0SdAXxAphxwQTrRhlH8nXIcGXF OICWQZMEc6GUoPOoImpIJ0UuVY+D3YbDsxtRRndNn3nYsY55y8qJXnnQq8e4atJo oKhztBjXoP41OtZE0zhhKva1U/feXa+k/KWzYwEt8DMqbYx7M+sLqJvXC1TJSGox MlOAjYJPYwo= =WhPv -----END PGP SIGNATURE----- --=-znOs3B9FTBrR/E8htRxJ-- --===============8061009318079788812== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============8061009318079788812==--