]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Default cpu_has_mipsmt to a runtime check
authorChris Dearman <chris@mips.com>
Fri, 30 Jun 2006 11:32:37 +0000 (12:32 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jul 2006 20:25:58 +0000 (21:25 +0100)
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/cpu-features.h

index 44285a9d55204c767fc63d0e972fe6fff94cdca8..3c2fc2b647c887bb1e23be77bcd3cc0bf5a66bfb 100644 (file)
 #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
+#define cpu_has_mipsmt         (cpu_data[0].ases & MIPS_ASE_MIPSMT)
 #endif
 
 #ifdef CONFIG_32BIT