ar71xx: switch to 2.6.32
[openwrt.git] / target / linux / amazon / patches-2.6.30 / 240-irq_fix.patch
1 --- a/arch/mips/amazon/interrupt.c
2 +++ b/arch/mips/amazon/interrupt.c
3 @@ -177,12 +177,11 @@ void __init arch_init_irq(void)
4 setup_irq(i, &cascade);
5 }
6
7 - for (i = INT_NUM_IRQ0; i <= INT_NUM_IM4_IRL31; i++) {
8 - irq_desc[i].status = IRQ_DISABLED;
9 - irq_desc[i].action = 0;
10 - irq_desc[i].depth = 1;
11 - set_irq_chip(i, &amazon_irq_type);
12 - }
13 + for (i = INT_NUM_IRQ0; i <= INT_NUM_IM4_IRL31; i++)
14 + set_irq_chip_and_handler(i, &amazon_irq_type,
15 + handle_level_irq);
16 +
17 + set_c0_status(IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | IE_IRQ3 | IE_IRQ4 | IE_IRQ5);
18 }
19
20 void __cpuinit arch_fixup_c0_irqs(void)
This page took 0.04502 seconds and 5 git commands to generate.