aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irqnr.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-10-21genirq: fix off by one and coding styleIngo Molnar1-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>
2008-10-18genirq: improve include filesThomas Gleixner1-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>