summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-10 00:35:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-10 00:35:42 +0000
commitf27973cad1e2587fbbfded4281345341f109b28c (patch)
tree6318fbfcc810fb7165cce6c0c1fa94a370a7ba13 /target
parent8fd58014cd3e8ae207ddba9552a4a716e81493ad (diff)
downloadmtk-20170518-f27973cad1e2587fbbfded4281345341f109b28c.zip
mtk-20170518-f27973cad1e2587fbbfded4281345341f109b28c.tar.gz
mtk-20170518-f27973cad1e2587fbbfded4281345341f109b28c.tar.bz2
patch the correct exception handler (see #1642)
SVN-Revision: 7154
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm47xx-2.6/patches/150-cpu_fixes.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm47xx-2.6/patches/150-cpu_fixes.patch b/target/linux/brcm47xx-2.6/patches/150-cpu_fixes.patch
index 531796b..29d3139 100644
--- a/target/linux/brcm47xx-2.6/patches/150-cpu_fixes.patch
+++ b/target/linux/brcm47xx-2.6/patches/150-cpu_fixes.patch
@@ -1,17 +1,17 @@
diff -ur linux.old/arch/mips/kernel/genex.S linux.dev/arch/mips/kernel/genex.S
--- linux.old/arch/mips/kernel/genex.S 2007-03-23 16:10:35.572499592 +0100
+++ linux.dev/arch/mips/kernel/genex.S 2007-03-16 11:54:34.901251992 +0100
-@@ -73,6 +73,10 @@
+@@ -50,6 +50,10 @@
+ NESTED(except_vec3_generic, 0, sp)
.set push
- .set mips3
.set noat
+#ifdef CONFIG_BCM947XX
+ nop
+ nop
+#endif
- mfc0 k1, CP0_CAUSE
- li k0, 31<<2
- andi k1, k1, 0x7c
+ #if R5432_CP0_INTERRUPT_WAR
+ mfc0 k0, CP0_INDEX
+ #endif
diff -ur linux.old/arch/mips/mm/c-r4k.c linux.dev/arch/mips/mm/c-r4k.c
--- linux.old/arch/mips/mm/c-r4k.c 2007-03-16 12:11:00.344441000 +0100
+++ linux.dev/arch/mips/mm/c-r4k.c 2007-03-23 16:03:23.596169976 +0100