Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1489652 > unrolled thread

[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

Started bySteven Rostedt <rostedt@goodmis.org>
First post2016-09-23 01:30 +0200
Last post2016-09-23 01:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case Steven Rostedt <rostedt@goodmis.org> - 2016-09-23 01:30 +0200

#1489652 — [PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case

FromSteven Rostedt <rostedt@goodmis.org>
Date2016-09-23 01:30 +0200
Subject[PATCH RT 03/10] sched: lazy_preempt: avoid a warning in the !RT case
Message-ID<sklBf-4lR-11@gated-at.bofh.it>
3.18.42-rt45-rc1 stable review patch.
If anyone has any objections, please let me know.

------------------

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 371fa38784e0..ce6d5c6ba8f7 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -3171,7 +3171,7 @@ static __always_inline int preemptible_lazy(void)
 
 #else
 
-static int preemptible_lazy(void)
+static inline int preemptible_lazy(void)
 {
 	return 1;
 }
-- 
2.8.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web