Revision 6ee093c9 hw/rc4030.c

b/hw/rc4030.c
104 104

  
105 105
    tm_hz = 1000 / (s->itr + 1);
106 106

  
107
    qemu_mod_timer(s->periodic_timer, qemu_get_clock(vm_clock) + ticks_per_sec / tm_hz);
107
    qemu_mod_timer(s->periodic_timer, qemu_get_clock(vm_clock) +
108
                   get_ticks_per_sec() / tm_hz);
108 109
}
109 110

  
110 111
/* called for accesses to rc4030 */

Also available in: Unified diff