]> Pileus Git - ~andy/linux/commit
sched_clock: Disable seqlock lockdep usage in sched_clock()
authorJohn Stultz <john.stultz@linaro.org>
Thu, 2 Jan 2014 23:11:14 +0000 (15:11 -0800)
committerIngo Molnar <mingo@kernel.org>
Sun, 12 Jan 2014 09:14:00 +0000 (10:14 +0100)
commit7a06c41cbec33c6dbe7eec575c61986122617408
tree7b97849c95bbc76378e9136b2f8016be9e413e0d
parent0c3351d451ae2fa438d5d1ed719fc43354fbffbb
sched_clock: Disable seqlock lockdep usage in sched_clock()

Unfortunately the seqlock lockdep enablement can't be used
in sched_clock(), since the lockdep infrastructure eventually
calls into sched_clock(), which causes a deadlock.

Thus, this patch changes all generic sched_clock() usage
to use the raw_* methods.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Reported-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1388704274-5278-2-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/sched_clock.c