ARM: Show FIQ in /proc/interrupts on CONFIG_FIQ
authorBen Dooks <ben@simtec.co.uk>
Mon, 3 Aug 2009 14:11:29 +0000 (15:11 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sun, 16 Aug 2009 23:00:41 +0000 (00:00 +0100)
The show_fiq_list() call in arch/arm/kernel/irq.c currently depends on
CONFIG_ARCH_ACORN, but this is not the only architecture that supports
the usage of FIQ. Change to calling this if CONFIG_FIQ is set (which
is what arch/arm/kernel/fiq.c is built by).

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/kernel/irq.c

index b7c3490..c9a8619 100644 (file)
@@ -86,7 +86,7 @@ int show_interrupts(struct seq_file *p, void *v)
 unlock:
                spin_unlock_irqrestore(&irq_desc[i].lock, flags);
        } else if (i == NR_IRQS) {
-#ifdef CONFIG_ARCH_ACORN
+#ifdef CONFIG_FIQ
                show_fiq_list(p, v);
 #endif
 #ifdef CONFIG_SMP