]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - drivers/md/dm-rq.c
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / drivers / md / dm-rq.c
index 1d0d2adc050a5539a4b430bd9e055f99e1abb5d7..41e3264177f970e2ada064b60ce5e13a7a40a9fd 100644 (file)
@@ -832,7 +832,7 @@ static void dm_old_request_fn(struct request_queue *q)
                /* Establish tio->ti before queuing work (map_tio_request) */
                tio->ti = ti;
                kthread_queue_work(&md->kworker, &tio->work);
-               BUG_ON(!irqs_disabled());
+               BUG_ON_NONRT(!irqs_disabled());
        }
 }