X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/17bba1a8f677463d167bff354036fb3f0f04160e..818a5943dcc3648dc438194a3e16efddee9d4827:/target/linux/brcm47xx/patches-2.6.25/150-cpu_fixes.patch diff --git a/target/linux/brcm47xx/patches-2.6.25/150-cpu_fixes.patch b/target/linux/brcm47xx/patches-2.6.25/150-cpu_fixes.patch index fb91dfae7..58dafe569 100644 --- a/target/linux/brcm47xx/patches-2.6.25/150-cpu_fixes.patch +++ b/target/linux/brcm47xx/patches-2.6.25/150-cpu_fixes.patch @@ -1,7 +1,5 @@ -Index: linux-2.6.25.4/arch/mips/kernel/genex.S -=================================================================== ---- linux-2.6.25.4.orig/arch/mips/kernel/genex.S -+++ linux-2.6.25.4/arch/mips/kernel/genex.S +--- a/arch/mips/kernel/genex.S ++++ b/arch/mips/kernel/genex.S @@ -51,6 +51,10 @@ NESTED(except_vec1_generic, 0, sp) NESTED(except_vec3_generic, 0, sp) .set push @@ -13,10 +11,8 @@ Index: linux-2.6.25.4/arch/mips/kernel/genex.S #if R5432_CP0_INTERRUPT_WAR mfc0 k0, CP0_INDEX #endif -Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c -=================================================================== ---- linux-2.6.25.4.orig/arch/mips/mm/c-r4k.c -+++ linux-2.6.25.4/arch/mips/mm/c-r4k.c +--- a/arch/mips/mm/c-r4k.c ++++ b/arch/mips/mm/c-r4k.c @@ -33,6 +33,9 @@ #include /* for run_uncached() */ @@ -114,10 +110,8 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c coherency_setup(); +#endif } -Index: linux-2.6.25.4/arch/mips/mm/tlbex.c -=================================================================== ---- linux-2.6.25.4.orig/arch/mips/mm/tlbex.c -+++ linux-2.6.25.4/arch/mips/mm/tlbex.c +--- a/arch/mips/mm/tlbex.c ++++ b/arch/mips/mm/tlbex.c @@ -677,6 +677,9 @@ static void __cpuinit build_r4000_tlb_re /* No need for uasm_i_nop */ } @@ -138,10 +132,8 @@ Index: linux-2.6.25.4/arch/mips/mm/tlbex.c #ifdef CONFIG_64BIT build_get_pmde64(p, l, r, pte, ptr); /* get pmd in ptr */ #else -Index: linux-2.6.25.4/include/asm-mips/r4kcache.h -=================================================================== ---- linux-2.6.25.4.orig/include/asm-mips/r4kcache.h -+++ linux-2.6.25.4/include/asm-mips/r4kcache.h +--- a/include/asm-mips/r4kcache.h ++++ b/include/asm-mips/r4kcache.h @@ -17,6 +17,20 @@ #include #include @@ -358,10 +350,8 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h +__BUILD_BLAST_CACHE_RANGE(inv_s, scache, Hit_Invalidate_SD,,, ) #endif /* _ASM_R4KCACHE_H */ -Index: linux-2.6.25.4/include/asm-mips/stackframe.h -=================================================================== ---- linux-2.6.25.4.orig/include/asm-mips/stackframe.h -+++ linux-2.6.25.4/include/asm-mips/stackframe.h +--- a/include/asm-mips/stackframe.h ++++ b/include/asm-mips/stackframe.h @@ -359,6 +359,10 @@ .macro RESTORE_SP_AND_RET LONG_L sp, PT_R29(sp)