[PATCH RT 3/9] sched: lazy_preempt: avoid a warning in the !RT case

From: Steven Rostedt
Date: Fri Sep 23 2016 - 11:28:52 EST


3.12.63-rt85-rc2 stable review patch.
If anyone has any objections, please let me know.

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

From: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
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 ca7fd86309ed..0e348717ab05 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2757,7 +2757,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