Skip to content

Commit 2e128de

Browse files
chrisdearmanralfbaechle
authored andcommitted
[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>
1 parent 70ae612 commit 2e128de

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎include/asm-mips/cpu-features.h‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,8 @@
143143
#define cpu_has_dsp (cpu_data[0].ases & MIPS_ASE_DSP)
144144
#endif
145145

146-
#ifdef CONFIG_MIPS_MT
147146
#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)
152148
#endif
153149

154150
#ifdef CONFIG_32BIT

0 commit comments

Comments
 (0)