24 lines
719 B
Diff
24 lines
719 B
Diff
|
Subject: block: Turn off warning which is bogus on RT
|
||
|
From: Thomas Gleixner <tglx@linutronix.de>
|
||
|
Date: Tue, 14 Jun 2011 17:05:09 +0200
|
||
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.1/patches-4.1.3-rt3.tar.xz
|
||
|
|
||
|
On -RT the context is always with IRQs enabled. Ignore this warning on -RT.
|
||
|
|
||
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
||
|
---
|
||
|
block/blk-core.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/block/blk-core.c
|
||
|
+++ b/block/blk-core.c
|
||
|
@@ -194,7 +194,7 @@ EXPORT_SYMBOL(blk_delay_queue);
|
||
|
**/
|
||
|
void blk_start_queue(struct request_queue *q)
|
||
|
{
|
||
|
- WARN_ON(!irqs_disabled());
|
||
|
+ WARN_ON_NONRT(!irqs_disabled());
|
||
|
|
||
|
queue_flag_clear(QUEUE_FLAG_STOPPED, q);
|
||
|
__blk_run_queue(q);
|