Messages in this thread Patch in this message | | | Subject | [patch] preempt: select PREEMPT_DYNAMIC under PREEMPTION instead of PREEMPT | From | Mike Galbraith <> | Date | Tue, 09 Feb 2021 14:45:37 +0100 |
| |
PREEMPT_RT and PREEMPT both needs PREEMPT_DYNAMIC to build, so move selection of PREEMPT_DYNAMIC to the common denominator, PREEMPTION.
Signed-off-by: Mike Galbraith <efault@gmx.de> --- kernel/Kconfig.preempt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -40,7 +40,6 @@ config PREEMPT depends on !ARCH_NO_PREEMPT select PREEMPTION select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK - select PREEMPT_DYNAMIC if HAVE_PREEMPT_DYNAMIC help This option reduces the latency of the kernel by making all kernel code (that is not executing in a critical section) @@ -81,6 +80,7 @@ config PREEMPT_COUNT config PREEMPTION bool select PREEMPT_COUNT + select PREEMPT_DYNAMIC if HAVE_PREEMPT_DYNAMIC
config PREEMPT_DYNAMIC bool
| |