diff options
Diffstat (limited to 'include/asm-mips/cpu-features.h')
-rw-r--r-- | include/asm-mips/cpu-features.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/asm-mips/cpu-features.h b/include/asm-mips/cpu-features.h index 698c21125a5c..03627cfb3e45 100644 --- a/include/asm-mips/cpu-features.h +++ b/include/asm-mips/cpu-features.h | |||
@@ -25,8 +25,19 @@ | |||
25 | #ifndef cpu_has_4kex | 25 | #ifndef cpu_has_4kex |
26 | #define cpu_has_4kex (cpu_data[0].options & MIPS_CPU_4KEX) | 26 | #define cpu_has_4kex (cpu_data[0].options & MIPS_CPU_4KEX) |
27 | #endif | 27 | #endif |
28 | #ifndef cpu_has_4ktlb | 28 | #ifndef cpu_has_3k_cache |
29 | #define cpu_has_4ktlb (cpu_data[0].options & MIPS_CPU_4KTLB) | 29 | #define cpu_has_3k_cache (cpu_data[0].options & MIPS_CPU_3K_CACHE) |
30 | #endif | ||
31 | #define cpu_has_6k_cache 0 | ||
32 | #define cpu_has_8k_cache 0 | ||
33 | #ifndef cpu_has_4k_cache | ||
34 | #define cpu_has_4k_cache (cpu_data[0].options & MIPS_CPU_4K_CACHE) | ||
35 | #endif | ||
36 | #ifndef cpu_has_tx39_cache | ||
37 | #define cpu_has_tx39_cache (cpu_data[0].options & MIPS_CPU_TX39_CACHE) | ||
38 | #endif | ||
39 | #ifndef cpu_has_sb1_cache | ||
40 | #define cpu_has_sb1_cache (cpu_data[0].options & MIPS_CPU_SB1_CACHE) | ||
30 | #endif | 41 | #endif |
31 | #ifndef cpu_has_fpu | 42 | #ifndef cpu_has_fpu |
32 | #define cpu_has_fpu (cpu_data[0].options & MIPS_CPU_FPU) | 43 | #define cpu_has_fpu (cpu_data[0].options & MIPS_CPU_FPU) |