Re: [PATCH v3 5/7] sched/preempt: add PREEMPT_DYNAMIC using static keys

From: Frederic Weisbecker
Date: Wed Feb 09 2022 - 12:48:11 EST


On Wed, Feb 09, 2022 at 03:35:33PM +0000, Mark Rutland wrote:
> +config HAVE_PREEMPT_DYNAMIC_KEY
> + bool
> + depends on JUMP_LABEL

This should probably be:

depends on HAVE_ARCH_JUMP_LABEL && CC_HAS_ASM_GOTO
select JUMP_LABEL

Otherwise you may run into trouble if CONFIG_JUMP_LABEL is initially n.

Thanks.