]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0147-block-Turn-off-warning-which-is-bogus-on-RT.patch
Fix memguard and related syscalls
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0147-block-Turn-off-warning-which-is-bogus-on-RT.patch
1 From 7c6788cd8e612a19af5f4257efde5568403d2216 Mon Sep 17 00:00:00 2001
2 From: Thomas Gleixner <tglx@linutronix.de>
3 Date: Tue, 14 Jun 2011 17:05:09 +0200
4 Subject: [PATCH 147/366] block: Turn off warning which is bogus on RT
5
6 On -RT the context is always with IRQs enabled. Ignore this warning on -RT.
7
8 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
9 ---
10  block/blk-core.c | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/block/blk-core.c b/block/blk-core.c
14 index b83af44..e64f6d6 100644
15 --- a/block/blk-core.c
16 +++ b/block/blk-core.c
17 @@ -233,7 +233,7 @@ EXPORT_SYMBOL(blk_start_queue_async);
18   **/
19  void blk_start_queue(struct request_queue *q)
20  {
21 -       WARN_ON(!irqs_disabled());
22 +       WARN_ON_NONRT(!irqs_disabled());
23  
24         queue_flag_clear(QUEUE_FLAG_STOPPED, q);
25         __blk_run_queue(q);
26 -- 
27 1.9.1
28