]> git.karo-electronics.de Git - mv-sheeva.git/commit
sched: sched_clock() lockdep fix
authorIngo Molnar <mingo@elte.hu>
Mon, 9 Jun 2008 08:45:29 +0000 (01:45 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Jun 2008 12:52:14 +0000 (14:52 +0200)
commit040ec23d07f95285e9777a85cda29cb339a3065b
tree6069d65b11e8c1db1fe400b09d4f2f1735234ba4
parent34078a5e44db3cbed2e0ed580c29a39d94e0cd97
sched: sched_clock() lockdep fix

Sitsofe Wheeler bisected the following commit to cause a lockdep to
warn about itself and turn itself off:

> commit c6531cce6e6e4b99bcda46b6268d6f2d9e30aea4
> Author: Ingo Molnar <mingo@elte.hu>
> Date:   Mon May 12 21:21:14 2008 +0200
>
>     sched: do not trace sched_clock

do not use raw irq flags in cpu_clock() as it causes lockdep to lose
track of the true state of the IRQ flag.

Reported-and-bisected-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/sched.c