genirq: fix off by one and coding style
authorIngo Molnar <mingo@elte.hu>
Tue, 21 Oct 2008 13:49:59 +0000 (15:49 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Oct 2008 13:54:40 +0000 (15:54 +0200)
commite9f95e637320efe1936b647308ddf4ec5b8e0311
tree0b192bfac0d0a8e696c039c067a20c0126fae641
parent0b3682ba33c59a362901b478bdab965da888b350
genirq: fix off by one and coding style

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>
arch/x86/kernel/irq.c
include/linux/irqnr.h