OSDN Git Service

sched,x86: Allow !PREEMPT_DYNAMIC
authorPeter Zijlstra <peterz@infradead.org>
Tue, 9 Feb 2021 21:02:33 +0000 (22:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Feb 2021 13:12:43 +0000 (14:12 +0100)
commitc5e6fc08feb2b88dc5dac2f3c817e1c2a4cafda4
tree4aa9e1a3e13d1bc1f6f727d148f4786e9740b9c7
parent4ae7dc97f726ea95c58ac58af71cc034ad22d7de
sched,x86: Allow !PREEMPT_DYNAMIC

Allow building x86 with PREEMPT_DYNAMIC=n, this is needed for
PREEMPT_RT as it makes no sense to not have full preemption on
PREEMPT_RT.

Fixes: 8c98e8cf723c ("preempt/dynamic: Provide preempt_schedule[_notrace]() static calls")
Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Mike Galbraith <efault@gmx.de>
Link: https://lkml.kernel.org/r/YCK1+JyFNxQnWeXK@hirez.programming.kicks-ass.net
arch/x86/include/asm/preempt.h