WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [PATCH] IO-APIC in drivers/pci/quirks.c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [PATCH] IO-APIC in drivers/pci/quirks.c
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Mon, 18 Apr 2005 20:58:15 +0000
Delivery-date: Tue, 19 Apr 2005 01:03:39 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.256.99, 2005/04/18 21:58:15+01:00, hollisb@xxxxxxxxxx

        [PATCH] IO-APIC in drivers/pci/quirks.c
        
        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 <hollisb@xxxxxxxxxx>
        
        ===== xen/drivers/pci/quirks.c 1.9 vs edited =====



 quirks.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/xen/drivers/pci/quirks.c b/xen/drivers/pci/quirks.c
--- a/xen/drivers/pci/quirks.c  2005-04-18 21:03:56 -04:00
+++ b/xen/drivers/pci/quirks.c  2005-04-18 21:03:56 -04:00
@@ -18,7 +18,6 @@
 #include <xen/pci.h>
 #include <xen/init.h>
 #include <xen/delay.h>
-#include <asm/io_apic.h>
 
 #undef DEBUG
 
@@ -332,6 +331,8 @@
 
 
 #ifdef CONFIG_X86_IO_APIC 
+
+#include <asm/io_apic.h>
 
 /*
  * VIA 686A/B: If an IO-APIC is active, we need to route all on-chip

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>