Several machines have the R4K cache macro name spelled incorrectly. Namely, they have cpu_has_4kcache defined instead of cpu_has_4k_cache.
--Kumba Signed-off-by: Joshua Kinard <kumba@xxxxxxxxxx> mach-ip22/cpu-feature-overrides.h | 2 +- mach-mips/cpu-feature-overrides.h | 4 ++-- mach-rm200/cpu-feature-overrides.h | 2 +- mach-sim/cpu-feature-overrides.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-)
diff -Naurp linux-2.6.17.mips.orig/include/asm-mips/mach-ip22/cpu-feature-overrides.h linux-2.6.17.mips.p2/include/asm-mips/mach-ip22/cpu-feature-overrides.h --- linux-2.6.17.mips.orig/include/asm-mips/mach-ip22/cpu-feature-overrides.h 2006-06-17 00:45:12.000000000 -0400 +++ linux-2.6.17.mips.p2/include/asm-mips/mach-ip22/cpu-feature-overrides.h 2006-06-17 00:54:42.000000000 -0400 @@ -13,7 +13,7 @@ */ #define cpu_has_tlb 1 #define cpu_has_4kex 1 -#define cpu_has_4kcache 1 +#define cpu_has_4k_cache 1 #define cpu_has_fpu 1 #define cpu_has_32fpr 1 #define cpu_has_counter 1 diff -Naurp linux-2.6.17.mips.orig/include/asm-mips/mach-mips/cpu-feature-overrides.h linux-2.6.17.mips.p2/include/asm-mips/mach-mips/cpu-feature-overrides.h --- linux-2.6.17.mips.orig/include/asm-mips/mach-mips/cpu-feature-overrides.h 2006-06-17 00:45:12.000000000 -0400 +++ linux-2.6.17.mips.p2/include/asm-mips/mach-mips/cpu-feature-overrides.h 2006-06-17 00:54:42.000000000 -0400 @@ -17,7 +17,7 @@ #ifdef CONFIG_CPU_MIPS32 #define cpu_has_tlb 1 #define cpu_has_4kex 1 -#define cpu_has_4kcache 1 +#define cpu_has_4k_cache 1 /* #define cpu_has_fpu ? */ /* #define cpu_has_32fpr ? */ #define cpu_has_counter 1 @@ -47,7 +47,7 @@ #ifdef CONFIG_CPU_MIPS64 #define cpu_has_tlb 1 #define cpu_has_4kex 1 -#define cpu_has_4kcache 1 +#define cpu_has_4k_cache 1 /* #define cpu_has_fpu ? */ /* #define cpu_has_32fpr ? */ #define cpu_has_counter 1 diff -Naurp linux-2.6.17.mips.orig/include/asm-mips/mach-rm200/cpu-feature-overrides.h linux-2.6.17.mips.p2/include/asm-mips/mach-rm200/cpu-feature-overrides.h --- linux-2.6.17.mips.orig/include/asm-mips/mach-rm200/cpu-feature-overrides.h 2006-06-17 00:45:12.000000000 -0400 +++ linux-2.6.17.mips.p2/include/asm-mips/mach-rm200/cpu-feature-overrides.h 2006-06-17 00:54:42.000000000 -0400 @@ -14,7 +14,7 @@ #define cpu_has_tlb 1 #define cpu_has_4kex 1 -#define cpu_has_4kcache 1 +#define cpu_has_4k_cache 1 #define cpu_has_fpu 1 #define cpu_has_32fpr 1 #define cpu_has_counter 1 diff -Naurp linux-2.6.17.mips.orig/include/asm-mips/mach-sim/cpu-feature-overrides.h linux-2.6.17.mips.p2/include/asm-mips/mach-sim/cpu-feature-overrides.h --- linux-2.6.17.mips.orig/include/asm-mips/mach-sim/cpu-feature-overrides.h 2006-06-17 00:45:12.000000000 -0400 +++ linux-2.6.17.mips.p2/include/asm-mips/mach-sim/cpu-feature-overrides.h 2006-06-17 00:54:42.000000000 -0400 @@ -16,7 +16,7 @@ #ifdef CONFIG_CPU_MIPS32 #define cpu_has_tlb 1 #define cpu_has_4kex 1 -#define cpu_has_4kcache 1 +#define cpu_has_4k_cache 1 #define cpu_has_fpu 0 /* #define cpu_has_32fpr ? */ #define cpu_has_counter 1 @@ -41,7 +41,7 @@ #ifdef CONFIG_CPU_MIPS64 #define cpu_has_tlb 1 #define cpu_has_4kex 1 -#define cpu_has_4kcache 1 +#define cpu_has_4k_cache 1 /* #define cpu_has_fpu ? */ /* #define cpu_has_32fpr ? */ #define cpu_has_counter 1