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

Steven Rostedt
2016-09-22T23:19:50Z

[-- Attachment #1: 0003-sched-lazy_preempt-avoid-a-warning-in-the-RT-case.patch --]
[-- Type: text/plain, Size: 698 bytes --]

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