From: Huacai Chen Date: Wed, 8 Nov 2023 06:12:01 +0000 (+0800) Subject: LoongArch: Support PREEMPT_DYNAMIC with static keys X-Git-Tag: v6.7-rc1~3^2~12 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=80c7889de7a8246e44a9632a2b7d15b41ab3fe41;p=linux-2.6-block.git LoongArch: Support PREEMPT_DYNAMIC with static keys Since commit 4e90d0522a688371402c ("riscv: support PREEMPT_DYNAMIC with static keys"), the infrastructure is complete and we can simply select HAVE_PREEMPT_DYNAMIC_KEY to enable PREEMPT_DYNAMIC on LoongArch because we already support static keys. Signed-off-by: Huacai Chen --- diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index e14396a2ddcb..86fdc8c55608 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -135,6 +135,7 @@ config LOONGARCH select HAVE_PERF_EVENTS select HAVE_PERF_REGS select HAVE_PERF_USER_STACK_DUMP + select HAVE_PREEMPT_DYNAMIC_KEY select HAVE_REGS_AND_STACK_ACCESS_API select HAVE_RETHOOK select HAVE_RSEQ