These two patches fix wrong usage of lock primitives with CONFIG_PREEMPT_RT in the blktrace code. This version fixes a missing piece in the blktrace patch. The patches apply to the PREEMPT_RT tree. Wander Lairson Costa (2): block: Avoid sleeping function called from invalid context bug blktrace: switch trace spinlock to a raw spinlock block/blk-cgroup.c | 4 ++-- kernel/trace/blktrace.c | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) -- 2.27.0