diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-12-16 17:21:47 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 12:58:13 +0100 |
commit | c78b9b65faa291def628dbd8539649f58299f0f3 (patch) | |
tree | e5575932182c11373e522160491347dce2e0a003 /include | |
parent | 1277a5325adfc53caac7dd3dac5d3d2fd2a125b4 (diff) | |
download | linux-c78b9b65faa291def628dbd8539649f58299f0f3.tar.bz2 |
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')
-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) struct seq_file; int show_interrupts(struct seq_file *p, void *v); +int arch_show_interrupts(struct seq_file *p, int prec); extern int early_irq_init(void); extern int arch_probe_nr_irqs(void); |