Loading...
--- xnu/xnu-1228.15.4/iokit/Kernel/IOTimerEventSource.cpp
+++ xnu/xnu-1228/iokit/Kernel/IOTimerEventSource.cpp
@@ -299,7 +299,7 @@
return kIOReturnNoResources;
abstime = inAbstime;
- if ( enabled && AbsoluteTime_to_scalar(&inAbstime) && AbsoluteTime_to_scalar(&abstime) && workLoop )
+ if ( enabled && AbsoluteTime_to_scalar(&abstime) && workLoop )
{
if (reserved)
{
@@ -308,14 +308,14 @@
reserved->workLoop = workLoop;
reserved->calloutGeneration++;
if (thread_call_enter1_delayed((thread_call_t) calloutEntry,
- (void *) reserved->calloutGeneration, inAbstime))
+ (void *) reserved->calloutGeneration, abstime))
{
release();
workLoop->release();
}
}
else
- thread_call_enter_delayed((thread_call_t) calloutEntry, inAbstime);
+ thread_call_enter_delayed((thread_call_t) calloutEntry, abstime);
}
return kIOReturnSuccess;