[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.