sched: Always inline is_percpu_thread()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 20 Sep 2021 13:31:11 +0000 (15:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Oct 2021 08:19:49 +0000 (10:19 +0200)
commitdcc0e1a90a4a1bcc6837ed1c0496f164525eaac9
treeecd2b955dcb48d8a85c14047960f4d7a2eb1797e
parent2e5484e212af8fe551eda63a42336bce37d9e1cd
sched: Always inline is_percpu_thread()

[ Upstream commit 83d40a61046f73103b4e5d8f1310261487ff63b0 ]

  vmlinux.o: warning: objtool: check_preemption_disabled()+0x81: call to is_percpu_thread() leaves .noinstr.text section

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210928084218.063371959@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/sched.h