aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-2.6.39
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-18 16:27:11 +0000
committerJohn Crispin <john@openwrt.org>2011-07-18 16:27:11 +0000
commit6b8c119b4149a531ed25f83c4f89dd47e038cd26 (patch)
treec9561c5eb2d833e2bba32d8060d6d57ab0121be6 /target/linux/lantiq/patches-2.6.39
parent6576d110d2ce6e01dce282cc64b2aea6521814a9 (diff)
downloadupstream-6b8c119b4149a531ed25f83c4f89dd47e038cd26.tar.gz
upstream-6b8c119b4149a531ed25f83c4f89dd47e038cd26.tar.bz2
upstream-6b8c119b4149a531ed25f83c4f89dd47e038cd26.zip
* fix external interrupts
SVN-Revision: 27687
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39')
-rw-r--r--target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch b/target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch
new file mode 100644
index 0000000000..03663b50db
--- /dev/null
+++ b/target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch
@@ -0,0 +1,20 @@
+--- a/arch/mips/lantiq/irq.c
++++ b/arch/mips/lantiq/irq.c
+@@ -132,7 +132,7 @@
+ static unsigned int ltq_startup_eiu_irq(struct irq_data *d)
+ {
+ int i;
+- int irq_nr = d->irq - INT_NUM_IRQ0;
++ int irq_nr = d->irq;
+
+ ltq_enable_irq(d);
+ for (i = 0; i < MAX_EIU; i++) {
+@@ -156,7 +156,7 @@
+ static void ltq_shutdown_eiu_irq(struct irq_data *d)
+ {
+ int i;
+- int irq_nr = d->irq - INT_NUM_IRQ0;
++ int irq_nr = d->irq;
+
+ ltq_disable_irq(d);
+ for (i = 0; i < MAX_EIU; i++) {