diff options
| -rw-r--r-- | arch/mips/include/asm/cpu-features.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cpu-features.h b/arch/mips/include/asm/cpu-features.h index 9609812bc8f2..8e0c125c59a1 100644 --- a/arch/mips/include/asm/cpu-features.h +++ b/arch/mips/include/asm/cpu-features.h | |||
| @@ -109,7 +109,11 @@ | |||
| 109 | #define cpu_has_rixi (cpu_data[0].options & MIPS_CPU_RIXI) | 109 | #define cpu_has_rixi (cpu_data[0].options & MIPS_CPU_RIXI) |
| 110 | #endif | 110 | #endif |
| 111 | #ifndef cpu_has_mmips | 111 | #ifndef cpu_has_mmips |
| 112 | #define cpu_has_mmips (cpu_data[0].options & MIPS_CPU_MICROMIPS) | 112 | # ifdef CONFIG_SYS_SUPPORTS_MICROMIPS |
| 113 | # define cpu_has_mmips (cpu_data[0].options & MIPS_CPU_MICROMIPS) | ||
| 114 | # else | ||
| 115 | # define cpu_has_mmips 0 | ||
| 116 | # endif | ||
| 113 | #endif | 117 | #endif |
| 114 | #ifndef cpu_has_vtag_icache | 118 | #ifndef cpu_has_vtag_icache |
| 115 | #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG) | 119 | #define cpu_has_vtag_icache (cpu_data[0].icache.flags & MIPS_CACHE_VTAG) |
