Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched: enable early use of sched_clock()
some platforms have sched_clock() implementations that cannot be called very early during wakeup. If it's called it might hang or crash in hard to debug ways. So only call update_rq_clock() [which calls sched_clock()] if sched_init() has already been called. (rq->idle is NULL before the scheduler is initialized.) Signed-off-by: Ingo Molnar <mingo@elte.hu>
- Loading branch information