diff options
| author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-01 21:13:56 +0000 |
|---|---|---|
| committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-01 21:13:56 +0000 |
| commit | 5ae1a8826d7cf47b57049546ff9b6b2e8b128c71 (patch) | |
| tree | 6f46654a32cf4971e50e7fb75e378bfe75a6bf53 /openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch | |
| parent | 476017a1384a977a0065a4f53618c0b0658f3afd (diff) | |
add even more workarounds for bcm4710, remove -fno-delayed-branch from kernel cflags -- not needed anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1132 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch')
| -rw-r--r-- | openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch b/openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch index 6e52e9c72..73afd60c1 100644 --- a/openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch +++ b/openwrt/target/linux/linux-2.4/patches/brcm/003-bcm47xx_workarounds.patch @@ -106,3 +106,17 @@ diff -urN linux.old/arch/mips/mm/tlbex-r4k.S linux.dev/arch/mips/mm/tlbex-r4k.S GET_PGD(k0, k1) # get pgd pointer mfc0 k0, CP0_BADVADDR # Get faulting address srl k0, k0, _PGDIR_SHIFT # get pgd only bits +diff -urN linux.old/arch/mips/kernel/entry.S linux.dev/arch/mips/kernel/entry.S +--- linux.old/arch/mips/kernel/entry.S 2003-08-25 13:44:40.000000000 +0200 ++++ linux.dev/arch/mips/kernel/entry.S 2005-06-01 20:10:36.000000000 +0200 +@@ -100,6 +100,10 @@ + * and R4400 SC and MC versions. + */ + NESTED(except_vec3_generic, 0, sp) ++#ifdef CONFIG_BCM4710 ++ nop ++ nop ++#endif + #if R5432_CP0_INTERRUPT_WAR + mfc0 k0, CP0_INDEX + #endif |
