diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-12-16 11:21:47 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:13 -0500 |
commit | c78b9b65faa291def628dbd8539649f58299f0f3 (patch) | |
tree | e5575932182c11373e522160491347dce2e0a003 /include/linux/interrupt.h | |
parent | 1277a5325adfc53caac7dd3dac5d3d2fd2a125b4 (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.h | 1 |
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 | ||
672 | struct seq_file; | 672 | struct seq_file; |
673 | int show_interrupts(struct seq_file *p, void *v); | 673 | int show_interrupts(struct seq_file *p, void *v); |
674 | int arch_show_interrupts(struct seq_file *p, int prec); | ||
674 | 675 | ||
675 | extern int early_irq_init(void); | 676 | extern int early_irq_init(void); |
676 | extern int arch_probe_nr_irqs(void); | 677 | extern int arch_probe_nr_irqs(void); |