projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2657921
)
Blackfin: only build show_interrupts() when procfs is enabled
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 15 Jun 2009 10:13:58 +0000
(06:13 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 23 Jun 2009 01:15:42 +0000
(21:15 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/irqchip.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/irqchip.c
b/arch/blackfin/kernel/irqchip.c
index 36bba30277354e67b0e0ce82f68a00cba6419919..8abb642283b42cd654aa3c40e5c5eb9e2c2f4000 100644
(file)
--- a/
arch/blackfin/kernel/irqchip.c
+++ b/
arch/blackfin/kernel/irqchip.c
@@
-54,6
+54,7
@@
static struct irq_desc bad_irq_desc = {
#error "Blackfin architecture does not support CONFIG_CPUMASK_OFFSTACK."
#endif
+#ifdef CONFIG_PROC_FS
int show_interrupts(struct seq_file *p, void *v)
{
int i = *(loff_t *) v, j;
@@
-85,6
+86,7
@@
int show_interrupts(struct seq_file *p, void *v)
}
return 0;
}
+#endif
/*
* do_IRQ handles all hardware IRQs. Decoded IRQs should not