genirq: Add single IRQ reservation helper

For cases that wish to reserve a single IRQ at a given place simply
provide a wrapper in to the ranged reservation routine.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
LKML-Reference: <20101026071912.GD4733@linux-sh.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by Paul Mundt and committed by Thomas Gleixner 639bd12f 2656c366

+5
+5
include/linux/irq.h
··· 412 412 irq_free_descs(irq, 1); 413 413 } 414 414 415 + static inline int irq_reserve_irq(unsigned int irq) 416 + { 417 + return irq_reserve_irqs(irq, 1); 418 + } 419 + 415 420 #endif /* CONFIG_GENERIC_HARDIRQS */ 416 421 417 422 #endif /* !CONFIG_S390 */