[PATCH v2] LoongArch: Select HAVE_VIRT_CPU_ACCOUNTING_GEN always
From: Bibo Mao
Date: Tue Feb 25 2025 - 04:25:48 EST
Option HAVE_VIRT_CPU_ACCOUNTING_GEN is selected by default for 64bit
system in kconfig file arch/Kconfig. There is another selection in file
arch/loongarch/Kconfig if SMP is not selected, it brings out some
misunderstanding for non-SMP case. Here always select option
HAVE_VIRT_CPU_ACCOUNTING_GEN for future possible 32bit system.
Signed-off-by: Bibo Mao <maobibo@xxxxxxxxxxx>
---
v1 ... v2:
1. Select HAVE_VIRT_CPU_ACCOUNTING_GEN always for possible 32bit system.
---
arch/loongarch/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
index 2b8bd27a852f..8d0885b165a2 100644
--- a/arch/loongarch/Kconfig
+++ b/arch/loongarch/Kconfig
@@ -175,7 +175,7 @@ config LOONGARCH
select HAVE_STACKPROTECTOR
select HAVE_SYSCALL_TRACEPOINTS
select HAVE_TIF_NOHZ
- select HAVE_VIRT_CPU_ACCOUNTING_GEN if !SMP
+ select HAVE_VIRT_CPU_ACCOUNTING_GEN
select IRQ_FORCED_THREADING
select IRQ_LOONGARCH_CPU
select LOCK_MM_AND_FIND_VMA
base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
--
2.39.3