]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/irq_32.c
x86: Add UV bios call infrastructure v4
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / irq_32.c
index b51ffdcfa31a48dfefc52c7049f5814db511c80a..001772ffc918d2a85a96b49a5666ed158dff2dd8 100644 (file)
@@ -237,8 +237,8 @@ unsigned int do_IRQ(struct pt_regs *regs)
 
        desc = irq_to_desc(irq);
        if (unlikely(!desc)) {
-               printk(KERN_EMERG "%s: cannot handle IRQ %d vector %#x\n",
-                                       __func__, irq, vector);
+               printk(KERN_EMERG "%s: cannot handle IRQ %d vector %#x cpu %d\n",
+                                       __func__, irq, vector, smp_processor_id());
                BUG();
        }
 
@@ -269,7 +269,7 @@ int show_interrupts(struct seq_file *p, void *v)
        struct irqaction * action;
        unsigned long flags;
        unsigned int entries;
-       struct irq_desc *desc;
+       struct irq_desc *desc = NULL;
        int tail = 0;
 
 #ifdef CONFIG_HAVE_SPARSE_IRQ
@@ -307,7 +307,7 @@ int show_interrupts(struct seq_file *p, void *v)
                action = desc->action;
                if (!action && !any_count)
                        goto skip;
-               seq_printf(p, "%#x: ",i);
+               seq_printf(p, "%3d: ", i);
 #ifndef CONFIG_SMP
                seq_printf(p, "%10u ", kstat_irqs(i));
 #else