linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4.0-rt] blk/blk-core.c: fix warning for non-rt builds
@ 2015-05-31 18:06 Paul Gortmaker
  2015-06-11  8:44 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2015-05-31 18:06 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: linux-rt-users, Paul Gortmaker

To fix:
  block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

[please squash into block-mq-don-t-complete-requests-via-IPI.patch]

 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 f8a4e9484eb3..ea9a9f41793d 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -100,7 +100,7 @@ void blk_rq_init(struct request_queue *q, struct request *rq)
 
 	INIT_LIST_HEAD(&rq->queuelist);
 	INIT_LIST_HEAD(&rq->timeout_list);
-#if CONFIG_PREEMPT_RT_FULL
+#ifdef CONFIG_PREEMPT_RT_FULL
 	INIT_WORK(&rq->work, __blk_mq_complete_request_remote_work);
 #endif
 	rq->cpu = -1;
-- 
2.2.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 4.0-rt] blk/blk-core.c: fix warning for non-rt builds
  2015-05-31 18:06 [PATCH 4.0-rt] blk/blk-core.c: fix warning for non-rt builds Paul Gortmaker
@ 2015-06-11  8:44 ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-06-11  8:44 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-rt-users

* Paul Gortmaker | 2015-05-31 14:06:09 [-0400]:

>To fix:
>  block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined
>
>Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
>---
>
>[please squash into block-mq-don-t-complete-requests-via-IPI.patch]
done, thanks.

Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-11  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-31 18:06 [PATCH 4.0-rt] blk/blk-core.c: fix warning for non-rt builds Paul Gortmaker
2015-06-11  8:44 ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).