]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: Always select HAVE_VIRT_CPU_ACCOUNTING_GEN
authorBibo Mao <maobibo@loongson.cn>
Sun, 30 Mar 2025 08:30:20 +0000 (16:30 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sun, 30 Mar 2025 08:30:20 +0000 (16:30 +0800)
commit08dac3b83aac99ad0e07139d350079f63bb24095
tree5ac509df47fae0f8c08f5b72aa10d2fa48e9f7ce
parent13c23cb4ed09466d73f1beae8956810b95add6ef
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>
arch/loongarch/Kconfig