X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1d99ee650820bfaf0ac45cada8853c807f27bf52..e0cd8f9c44808642b2f4ebb17202e1ec477db78a:/lunaix-os/arch/x86/hal/apic_timer.c diff --git a/lunaix-os/arch/x86/hal/apic_timer.c b/lunaix-os/arch/x86/hal/apic_timer.c index 9a42e82..178928c 100644 --- a/lunaix-os/arch/x86/hal/apic_timer.c +++ b/lunaix-os/arch/x86/hal/apic_timer.c @@ -46,7 +46,7 @@ __apic_timer_calibrate(struct hwtimer_pot* pot, u32_t hertz) irq = irq_declare_direct(apic_timer_count_stop); irq_set_payload(irq, pot); - irq_assign(irq_get_default_domain(), irq); + irq_assign(irq_get_default_domain(), irq, NULL); // Setup a one-shot timer, we will use this to measure the bus speed. So we // can then calibrate apic timer to work at *nearly* accurate hz