From: Hollis Blanchard Subject: [patch] IO-APIC in drivers/pci/quirks.c Date: Mon, 21 Mar 2005 14:28:36 -0600 Message-ID: <200503211428.36800.hollisb@us.ibm.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_05yPCGOsd82kuig" Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org --Boundary-00=_05yPCGOsd82kuig Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline This patch moves the IO-APIC include inside #ifdef CONFIG_X86_IO_APIC , which is how Linux 2.6 has it. This is needed for architectures without asm/io_apic.h. I've verified that x86 still builds; please apply. Signed-off-by: Hollis Blanchard -- Hollis Blanchard IBM Linux Technology Center --Boundary-00=_05yPCGOsd82kuig Content-Type: text/x-diff; charset="us-ascii"; name="xen-pciquirks-ioapic.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-pciquirks-ioapic.diff" ===== xen/drivers/pci/quirks.c 1.9 vs edited ===== --- 1.9/xen/drivers/pci/quirks.c 2004-07-01 18:32:33 -05:00 +++ edited/xen/drivers/pci/quirks.c 2005-03-21 14:27:45 -06:00 @@ -18,7 +18,6 @@ #include #include #include -#include #undef DEBUG @@ -332,6 +331,8 @@ #ifdef CONFIG_X86_IO_APIC + +#include /* * VIA 686A/B: If an IO-APIC is active, we need to route all on-chip --Boundary-00=_05yPCGOsd82kuig-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click