29 lines
859 B
Diff
29 lines
859 B
Diff
|
From 68193d41113a086df8685fac1c1892e67bcaf435 Mon Sep 17 00:00:00 2001
|
||
|
From: Thomas Gleixner <tglx@linutronix.de>
|
||
|
Date: Tue, 14 Jun 2011 17:05:09 +0200
|
||
|
Subject: [PATCH 200/365] block: Turn off warning which is bogus on RT
|
||
|
|
||
|
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(-)
|
||
|
|
||
|
diff --git a/block/blk-core.c b/block/blk-core.c
|
||
|
index 9fa645750c1b..e0f201856185 100644
|
||
|
--- a/block/blk-core.c
|
||
|
+++ b/block/blk-core.c
|
||
|
@@ -235,7 +235,7 @@ EXPORT_SYMBOL(blk_start_queue_async);
|
||
|
**/
|
||
|
void blk_start_queue(struct request_queue *q)
|
||
|
{
|
||
|
- WARN_ON(!in_interrupt() && !irqs_disabled());
|
||
|
+ WARN_ON_NONRT(!in_interrupt() && !irqs_disabled());
|
||
|
|
||
|
queue_flag_clear(QUEUE_FLAG_STOPPED, q);
|
||
|
__blk_run_queue(q);
|
||
|
--
|
||
|
2.28.0
|
||
|
|