]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
irq: for_each_irq_desc() move to irqnr.h
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Fri, 26 Dec 2008 03:24:24 +0000 (12:24 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Dec 2008 08:48:17 +0000 (09:48 +0100)
commitf9af0e70911e9d6cc9a68f784dca86415486084d
tree58a83c34cc8a511b5e05d48425251621e9b471a1
parent51bc39f4ba35bae153b32145077fb1109bcae14c
irq: for_each_irq_desc() move to irqnr.h

Impact: cleanup

before CONFIG_SPARSE_IRQ age, for_each_irq_desc() sat in irqnr.h and
could be called from generic code.

CONFIG_SPARSE_IRQ breaks this assumption, but SPARSE_IRQ version
for_each_irq_desc() also can move into irqnr.h easily.

Also, this patch unifies CONFIG_SPARSE_IRQ and !CONFIG_SPARSE_IRQ
for_each_irq_desc().

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/irq.h
include/linux/irqnr.h
kernel/irq/handle.c