From: Jens Axboe Date: Tue, 1 Jun 2010 10:23:18 +0000 (+0200) Subject: block: disable preemption before using sched_clock() X-Git-Tag: v2.6.35-rc2~12^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f4197e5d4707311febeec8a0eb97cb5fd93c97;p=pandora-kernel.git block: disable preemption before using sched_clock() Commit 9195291e5f05e01d67f9a09c756b8aca8f009089 added calls to sched_clock() from preemptible code. sched_clock() is both the wrong interface AND cannot be called without preempt disabled. Apply a temporary fix to get rid of the warnings, a real patch is in the works. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed