x86: check with without_new in show_interrupts
[deliverable/linux.git] / arch / x86 / kernel / irq_64.c
index f58b995b30ee6adc7598ed98eaa09ad838a1726d..f337f87c1e1667ffc2ad90a59f3e37053ff9d10b 100644 (file)
@@ -83,7 +83,10 @@ int show_interrupts(struct seq_file *p, void *v)
 
        if (i < nr_irqs) {
                unsigned any_count = 0;
-               struct irq_desc *desc = irq_to_desc(i);
+               struct irq_desc *desc = __irq_to_desc(i);
+
+               if (!desc)
+                       return 0;
 
                spin_lock_irqsave(&desc->lock, flags);
 #ifndef CONFIG_SMP
This page took 0.023232 seconds and 5 git commands to generate.