Skip to content
Commit 6892b75e authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: make early bootup sched_clock() use safer



do not call sched_clock() too early. Not only might rq->idle
not be set up - but pure per-cpu data might not be accessible
either.

this solves an ia64 early bootup hang with CONFIG_PRINTK_TIME=y.

Tested-by: default avatarTony Luck <tony.luck@gmail.com>
Acked-by: default avatarTony Luck <tony.luck@gmail.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent bfa274e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment