aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2023-11-08 14:12:01 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-11-08 14:12:01 +0800
commit80c7889de7a8246e44a9632a2b7d15b41ab3fe41 (patch)
tree0279ba4707e34c16a52ffc443cf87e19ddfb59d0
parenta6bdc082ad1c91d389a6ba0c7a1945818f732114 (diff)
downloadlinux-80c7889de7a8246e44a9632a2b7d15b41ab3fe41.tar.gz
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 <chenhuacai@loongson.cn>
-rw-r--r--arch/loongarch/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
index e14396a2ddcbfc..86fdc8c5560873 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