aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-12-16 11:21:47 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:13 -0500
commitc78b9b65faa291def628dbd8539649f58299f0f3 (patch)
treee5575932182c11373e522160491347dce2e0a003 /include/linux/interrupt.h
parent1277a5325adfc53caac7dd3dac5d3d2fd2a125b4 (diff)
genirq: Implement generic irq_show_interrupts()
All archs implement show_interrupts() in more or less the same way. That's tons of duplicated code with different bugs with no value. Implement a generic version and deprecate show_interrupts() Unfortunately we need some ifdeffery for !GENERIC_HARDIRQ archs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index de97b958f478..8da6643e39a6 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -671,6 +671,7 @@ static inline void init_irq_proc(void)
671 671
672struct seq_file; 672struct seq_file;
673int show_interrupts(struct seq_file *p, void *v); 673int show_interrupts(struct seq_file *p, void *v);
674int arch_show_interrupts(struct seq_file *p, int prec);
674 675
675extern int early_irq_init(void); 676extern int early_irq_init(void);
676extern int arch_probe_nr_irqs(void); 677extern int arch_probe_nr_irqs(void);