[MIPS] Allow hardwiring of the CPU type to a single type for optimization.
This saves a few k on systems which only ever ship with a single CPU type. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -263,7 +263,7 @@ static inline void dec_kn03_be_init(void)
|
||||
*/
|
||||
*mcr = (*mcr & ~(KN03_MCR_DIAGCHK | KN03_MCR_DIAGGEN)) |
|
||||
KN03_MCR_CORRECT;
|
||||
if (current_cpu_data.cputype == CPU_R4400SC)
|
||||
if (current_cpu_type() == CPU_R4400SC)
|
||||
*mbcs |= KN4K_MB_CSR_EE;
|
||||
fast_iob();
|
||||
}
|
||||
|
Reference in New Issue
Block a user