diff options
Diffstat (limited to 'arch/mips/kernel/time.c')
-rw-r--r-- | arch/mips/kernel/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c index 174959bf1d59..07e125c027b2 100644 --- a/arch/mips/kernel/time.c +++ b/arch/mips/kernel/time.c | |||
@@ -628,9 +628,9 @@ void __init time_init(void) | |||
628 | mips_hpt_init = c0_hpt_init; | 628 | mips_hpt_init = c0_hpt_init; |
629 | } | 629 | } |
630 | 630 | ||
631 | if ((current_cpu_data.isa_level == MIPS_CPU_ISA_M32R1) || | 631 | if (cpu_has_mips32r1 || cpu_has_mips32r2 || |
632 | (current_cpu_data.isa_level == MIPS_CPU_ISA_I) || | 632 | (current_cpu_data.isa_level == MIPS_CPU_ISA_I) || |
633 | (current_cpu_data.isa_level == MIPS_CPU_ISA_II)) | 633 | (current_cpu_data.isa_level == MIPS_CPU_ISA_II)) |
634 | /* | 634 | /* |
635 | * We need to calibrate the counter but we don't have | 635 | * We need to calibrate the counter but we don't have |
636 | * 64-bit division. | 636 | * 64-bit division. |