Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e128ded authored by Chris Dearman's avatar Chris Dearman Committed by Ralf Baechle
Browse files

[MIPS] Default cpu_has_mipsmt to a runtime check



Signed-off-by: default avatarChris Dearman <chris@mips.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 70ae6126
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -143,13 +143,9 @@
#define cpu_has_dsp		(cpu_data[0].ases & MIPS_ASE_DSP)
#endif

#ifdef CONFIG_MIPS_MT
#ifndef cpu_has_mipsmt
#define cpu_has_mipsmt		(cpu_data[0].ases & MIPS_ASE_MIPSMT)
#endif
#else
# define cpu_has_mipsmt		0
#endif

#ifdef CONFIG_32BIT
# ifndef cpu_has_nofpuex