git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blackfin: only build show_interrupts() when procfs is enabled
[safe/jmp/linux-2.6]
/
arch
/
blackfin
/
kernel
/
irqchip.c
diff --git
a/arch/blackfin/kernel/irqchip.c
b/arch/blackfin/kernel/irqchip.c
index
36bba30
..
8abb642
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
#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;
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;
}
}
return 0;
}
+#endif
/*
* do_IRQ handles all hardware IRQs. Decoded IRQs should not
/*
* do_IRQ handles all hardware IRQs. Decoded IRQs should not