xen/22157-x86-debug-key-i.patch

22 lines
602 B
Diff
Raw Normal View History

# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1284533274 -3600
# Node ID d4976434b8bba469fd1d337dc16249a5abfc4e5a
# Parent 14ce571d157e060fdb390e70fa8d0c95b2fd9b76
x86: fix debug key 'i' handling with no IO-APICs
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/xen/arch/x86/io_apic.c
+++ b/xen/arch/x86/io_apic.c
@@ -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];