diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-15 06:13:58 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-22 21:15:42 -0400 |
commit | 46f288a0f983401ebadb918751d342cbf819cde5 (patch) | |
tree | 6df139ed4b2dda1fcd707e21aef1a8647b233cf3 | |
parent | 26579216f3cdf1ae05f0af8412b444870a167510 (diff) |
Blackfin: only build show_interrupts() when procfs is enabled
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | arch/blackfin/kernel/irqchip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c index 36bba3027735..8abb642283b4 100644 --- a/arch/blackfin/kernel/irqchip.c +++ b/arch/blackfin/kernel/irqchip.c | |||
@@ -54,6 +54,7 @@ static struct irq_desc bad_irq_desc = { | |||
54 | #error "Blackfin architecture does not support CONFIG_CPUMASK_OFFSTACK." | 54 | #error "Blackfin architecture does not support CONFIG_CPUMASK_OFFSTACK." |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | #ifdef CONFIG_PROC_FS | ||
57 | int show_interrupts(struct seq_file *p, void *v) | 58 | int show_interrupts(struct seq_file *p, void *v) |
58 | { | 59 | { |
59 | int i = *(loff_t *) v, j; | 60 | int i = *(loff_t *) v, j; |
@@ -85,6 +86,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
85 | } | 86 | } |
86 | return 0; | 87 | return 0; |
87 | } | 88 | } |
89 | #endif | ||
88 | 90 | ||
89 | /* | 91 | /* |
90 | * do_IRQ handles all hardware IRQs. Decoded IRQs should not | 92 | * do_IRQ handles all hardware IRQs. Decoded IRQs should not |