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

Frederic Weisbecker
2022-02-09T17:49:18Z

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.