mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
proc: fixup irq iterator
There is no need for irq_desc here. Even for sparse_irq we can handle this clever in for_each_irq_nr(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
811410fdb6
commit
2be3b52a57
2 changed files with 5 additions and 5 deletions
|
@ -27,6 +27,9 @@ extern int nr_irqs;
|
|||
irq > 0; irq--, desc--)
|
||||
#endif
|
||||
|
||||
#define for_each_irq_nr(irq) \
|
||||
for (irq = 0; irq < nr_irqs; irq++)
|
||||
|
||||
#ifndef CONFIG_S390
|
||||
|
||||
#include <linux/linkage.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue