ramips: rt305x: add support for the ZyXEL NBG-419N board
[openwrt.git] / target / linux / lantiq / patches-2.6.39 / 999-fix-eiu.patch
1 --- a/arch/mips/lantiq/irq.c
2 +++ b/arch/mips/lantiq/irq.c
3 @@ -132,7 +132,7 @@
4 static unsigned int ltq_startup_eiu_irq(struct irq_data *d)
5 {
6 int i;
7 - int irq_nr = d->irq - INT_NUM_IRQ0;
8 + int irq_nr = d->irq;
9
10 ltq_enable_irq(d);
11 for (i = 0; i < MAX_EIU; i++) {
12 @@ -156,7 +156,7 @@
13 static void ltq_shutdown_eiu_irq(struct irq_data *d)
14 {
15 int i;
16 - int irq_nr = d->irq - INT_NUM_IRQ0;
17 + int irq_nr = d->irq;
18
19 ltq_disable_irq(d);
20 for (i = 0; i < MAX_EIU; i++) {
This page took 0.05145 seconds and 5 git commands to generate.