]> git.proxmox.com Git - qemu.git/blobdiff - hw/alpha/typhoon.c
aio / timers: Switch entire codebase to the new timer API
[qemu.git] / hw / alpha / typhoon.c
index 245004530c87c15c39128c71bd4f68f969a38c54..aac9a32e0cf5e0bd83076af208b27cf9f0d957df 100644 (file)
@@ -833,7 +833,7 @@ PCIBus *typhoon_init(ram_addr_t ram_size, ISABus **isa_bus,
         AlphaCPU *cpu = cpus[i];
         s->cchip.cpu[i] = cpu;
         if (cpu != NULL) {
-            cpu->alarm_timer = qemu_new_timer_ns(vm_clock,
+            cpu->alarm_timer = timer_new_ns(QEMU_CLOCK_VIRTUAL,
                                                  typhoon_alarm_timer,
                                                  (void *)((uintptr_t)s + i));
         }