diff options
Diffstat (limited to 'hw/mips/cputimer.c')
-rw-r--r-- | hw/mips/cputimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mips/cputimer.c b/hw/mips/cputimer.c index e0266bf..739bbac 100644 --- a/hw/mips/cputimer.c +++ b/hw/mips/cputimer.c @@ -72,8 +72,8 @@ uint32_t cpu_mips_get_count (CPUMIPSState *env) uint64_t now; now = qemu_get_clock_ns(vm_clock); - if (qemu_timer_pending(env->timer) - && qemu_timer_expired(env->timer, now)) { + if (timer_pending(env->timer) + && timer_expired(env->timer, now)) { /* The timer has already expired. */ cpu_mips_timer_expire(env); } |