genirq: record IRQ_LEVEL in irq_desc[]
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 1 Dec 2008 22:31:38 +0000 (14:31 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 2 Dec 2008 10:20:46 +0000 (11:20 +0100)
commitf2b662da8d6bd44673537f3f64220afefdca369f
treef0cb66d79a1eecfaecc7af47a3ba0390d63ad2c5
parent061e41fdb5047b1fb161e89664057835935ca1d2
genirq: record IRQ_LEVEL in irq_desc[]

Impact: fix __irq_set_trigger() for IRQ_LEVEL

When recording the irq trigger type, let's also make sure
that IRQ_LEVEL gets set correctly.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/chip.c
kernel/irq/manage.c