aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-14 17:05:09 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-02-13 00:36:12 +0100
commitfaccfdc125a18a6695a49288dcecf6712a50ca7c (patch)
tree92d54e84551c7e241eece3e2addde064f8e0b755
parent68402ceb3fb767e2097c23d5e1f07b3b08a5db36 (diff)
downloadrt-linux-faccfdc125a18a6695a49288dcecf6712a50ca7c.tar.gz
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>
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index db96b5ae13b411..1ed2f55793a0d0 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -233,7 +233,7 @@ EXPORT_SYMBOL(blk_start_queue_async);
**/
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);