diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-02-13 14:02:36 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-25 16:34:16 +0100 |
commit | 6892b75e60557a48c01d57ba320419a9e2ce9846 (patch) | |
tree | 2ba5c725d4723385e88b0a54e8bb4be5b9e38384 /kernel/lockdep_internals.h | |
parent | Linux 2.6.25-rc3 (diff) | |
download | linux-6892b75e60557a48c01d57ba320419a9e2ce9846.tar.xz linux-6892b75e60557a48c01d57ba320419a9e2ce9846.zip |
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: Tony Luck <tony.luck@gmail.com>
Acked-by: Tony Luck <tony.luck@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep_internals.h')
0 files changed, 0 insertions, 0 deletions