genirq: fix set_irq_type() when recording trigger type
authorChris Friesen <cfriesen@nortel.com>
Mon, 20 Oct 2008 18:41:58 +0000 (12:41 -0600)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Oct 2008 08:10:08 +0000 (10:10 +0200)
commit0b3682ba33c59a362901b478bdab965da888b350
tree652dd572a96881874c63db246b86ed6e4fbdec48
parenta9b6148d25f15ddfe9d7a7f3e526fdb64e7cf7da
genirq: fix set_irq_type() when recording trigger type

Impact: fix boot hang on a G5

In set_irq_type() we want to pass the type rather than the current
interrupt state.

Signed-off-by: Chris Friesen <cfriesen@nortel.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/chip.c