Skip to content

Commit 08dac3b

Browse files
bibo-maochenhuacai
authored andcommitted
LoongArch: Always select HAVE_VIRT_CPU_ACCOUNTING_GEN
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. Indeed this option is SMP-safe so it brings out some misunderstanding for non-SMP case. Here always select option HAVE_VIRT_CPU_ACCOUNTING_GEN for future possible 32bit system (it is also 32bit-safe because we no longer use cputime_t). Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent 13c23cb commit 08dac3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongarch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ config LOONGARCH
175175
select HAVE_STACKPROTECTOR
176176
select HAVE_SYSCALL_TRACEPOINTS
177177
select HAVE_TIF_NOHZ
178-
select HAVE_VIRT_CPU_ACCOUNTING_GEN if !SMP
178+
select HAVE_VIRT_CPU_ACCOUNTING_GEN
179179
select IRQ_FORCED_THREADING
180180
select IRQ_LOONGARCH_CPU
181181
select LOCK_MM_AND_FIND_VMA

0 commit comments

Comments
 (0)