Skip to content

Commit

Permalink
[MIPS] Add Missing R4K Cache Macros to IP27 & IP32
Browse files Browse the repository at this point in the history
Keeping in accordance with other machines, IP27 and IP32 lack a few
macros.  IP27 lacks cpu_has_4kex & cpu_has_4k_cache macros while IP32
lacks just the cpu_has_4k_cache macro.

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 35189fa commit 2493921
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-mips/mach-ip27/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#define cpu_has_nofpuex 0
#define cpu_has_64bits 1

#define cpu_has_4kex 1
#define cpu_has_4k_cache 1

#define cpu_has_subset_pcaches 1

#define cpu_dcache_line_size() 32
Expand Down
2 changes: 2 additions & 0 deletions include/asm-mips/mach-ip32/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#define cpu_has_vtag_icache 0
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
#define cpu_has_4k_cache 1


#define cpu_has_mips32r1 0
#define cpu_has_mips32r2 0
Expand Down

0 comments on commit 2493921

Please sign in to comment.