Linus,

please pull the latest sched/urgent branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
sched-urgent-2020-08-30

up to:  c94a88f341c9: sched: Use __always_inline on is_idle_task()


A single fix for the scheduler:

 - Make is_idle_task() __always_inline to prevent the compiler from putting
   it out of line into the wrong section because it's used inside noinstr
   sections.

Thanks,

        tglx

------------------>
Marco Elver (1):
      sched: Use __always_inline on is_idle_task()


 include/linux/sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 93ecd930efd3..afe01e232935 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1666,7 +1666,7 @@ extern struct task_struct *idle_task(int cpu);
  *
  * Return: 1 if @p is an idle task. 0 otherwise.
  */
-static inline bool is_idle_task(const struct task_struct *p)
+static __always_inline bool is_idle_task(const struct task_struct *p)
 {
        return !!(p->flags & PF_IDLE);
 }

Reply via email to