Root/target/linux/lantiq/patches-3.0/991-backport-3.1-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++) {
21

Archive Download this file



interactive