Skip to contentSkip to conversation

x86: fix debug key 'i' handling with no IO-APICs

PATCH New Jan Beulich 1 participant 1 message Sep 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: fix debug key 'i' handling with no IO-APICs

xen/arch/x86/io_apic.c +3 -0
@@ -2463,6 +2463,9 @@ void dump_ioapic_irq_info(void)
     unsigned int irq, pin, printed = 0;
     unsigned long flags;
 
+    if ( !irq_2_pin )
+        return;
+
     for ( irq = 0; irq < nr_irqs_gsi; irq++ )
     {
         entry = &irq_2_pin[irq];
xen/arch/x86/io_apic.c +3 -0
@@ -2463,6 +2463,9 @@ void dump_ioapic_irq_info(void)
     unsigned int irq, pin, printed = 0;
     unsigned long flags;
 
+    if ( !irq_2_pin )
+        return;
+
     for ( irq = 0; irq < nr_irqs_gsi; irq++ )
     {
         entry = &irq_2_pin[irq];

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel