Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] Default cpu_has_mipsmt to a runtime check

Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Chris Dearman and committed by
Ralf Baechle
2e128ded 70ae6126

+1 -5
+1 -5
include/asm-mips/cpu-features.h
··· 143 143 #define cpu_has_dsp (cpu_data[0].ases & MIPS_ASE_DSP) 144 144 #endif 145 145 146 - #ifdef CONFIG_MIPS_MT 147 146 #ifndef cpu_has_mipsmt 148 - # define cpu_has_mipsmt (cpu_data[0].ases & MIPS_ASE_MIPSMT) 149 - #endif 150 - #else 151 - # define cpu_has_mipsmt 0 147 + #define cpu_has_mipsmt (cpu_data[0].ases & MIPS_ASE_MIPSMT) 152 148 #endif 153 149 154 150 #ifdef CONFIG_32BIT