summaryrefslogtreecommitdiffstats
path: root/include/linux/irqnr.h
Commit message (Collapse)AuthorAgeFilesLines
* genirq: fix off by one and coding styleIngo Molnar2008-10-211-3/+3
| | | | | | | | | | Fix off-by-one in for_each_irq_desc_reverse(). Impact is near zero in practice, because nothing substantial wants to iterate down to IRQ#0 - but fix it nevertheless. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* genirq: improve include filesThomas Gleixner2008-10-181-0/+24
Move the irq_desc related iterators out of irq.h, into irqnr.h, also available via interrupt.h. This way non-genirq (and even non-hardirq) architectures get the common definitions and iterators. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>