X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e3027f41d0120b4278cca462f397b6619dcd9ac5..0b4e3aa066abc0728aacb4bbeb86f53f9737156e:/bsd/kern/kern_clock.c diff --git a/bsd/kern/kern_clock.c b/bsd/kern/kern_clock.c index 582f46377..649b0a6d4 100644 --- a/bsd/kern/kern_clock.c +++ b/bsd/kern/kern_clock.c @@ -135,7 +135,7 @@ bsd_hardclock(usermode, pc, numticks) * assuming that the current state has been around at least * one tick. */ - p = (struct proc *)get_bsdtask_info(current_task()); + p = (struct proc *)current_proc(); if (p && ((p->p_flag & P_WEXIT) == NULL)) { if (usermode) { if (p) { @@ -310,7 +310,7 @@ timeout( void *param, int interval) { - AbsoluteTime deadline; + uint64_t deadline; clock_interval_to_deadline(interval, NSEC_PER_SEC / hz, &deadline); thread_call_func_delayed((thread_call_func_t)fcn, param, deadline);