Skip to content

Commit

Permalink
[MIPS] Fix R4K cache macro names
Browse files Browse the repository at this point in the history
Several machines have the R4K cache macro name spelled incorrectly.  Namely,
they have cpu_has_4kcache defined instead of cpu_has_4k_cache.

Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Kumba authored and Ralf Baechle committed Jun 19, 2006
1 parent 2493921 commit c3b1c2d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/asm-mips/mach-ip22/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions include/asm-mips/mach-mips/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/asm-mips/mach-rm200/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions include/asm-mips/mach-sim/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c3b1c2d

Please sign in to comment.