Fix periodic per-CPU timers startup on boot.

Reported by:	neel
MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2013-12-16 13:52:18 +00:00
parent 49a6d80306
commit e37e08c7bf

View File

@ -233,7 +233,8 @@ handleevents(sbintime_t now, int fake)
if (!busy) {
state->idle = 0;
state->nextevent = t;
loadtimer(now, 0);
loadtimer(now, (fake == 2) &&
(timer->et_flags & ET_FLAGS_PERCPU));
}
ET_HW_UNLOCK(state);
return (done);