genirq: use inline function for irq_to_desc
authorThomas Gleixner <tglx@linutronix.de>
Wed, 15 Oct 2008 12:31:29 +0000 (14:31 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:14 +0000 (16:53 +0200)
commitc6b7674f323622d86316bf7951ad9cae1ce24642
tree00ff8c061f9c0822c56e46bc59c46dced278f9a9
parent70dd4d992ab324a59cdcd6bedc3f4e729863d514
genirq: use inline function for irq_to_desc

For the non sparse irq case an inline function is perfectly fine.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irq.h
kernel/irq/handle.c