diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-06-01 12:23:18 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-06-01 12:23:18 +0200 |
commit | 28f4197e5d4707311febeec8a0eb97cb5fd93c97 (patch) | |
tree | 9f7c5808e0c069b449b67856207c5ee4f740bd34 /arch/sparc/kernel/psycho_common.c | |
parent | 713b686494a577b3c4f4f9f585a4705fc30d51c2 (diff) |
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 <jaxboe@fusionio.com>
Diffstat (limited to 'arch/sparc/kernel/psycho_common.c')
0 files changed, 0 insertions, 0 deletions