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

Frederic Weisbecker frederic at kernel.org
Wed Feb 9 09:48:01 PST 2022


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.



More information about the linux-arm-kernel mailing list