提交 0bfb2391 编写于 作者: H Huacai Chen 提交者: Hongchen Zhang

LoongArch: Adjust arch/loongarch/Kconfig

mainline inclusion
from mainline-v6.0-rc1
commit f30d1f49
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5OHOB
CVE: NA

--------------------------------

1, ACPI, EFI and SMP are mandatories for LoongArch, select them
unconditionally to avoid various build errors for 'make randconfig'.
2, Move the MMU_GATHER_MERGE_VMAS selection to the correct place.
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NHuacai Chen <chenhuacai@loongson.cn>
上级 9dc77782
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
config LOONGARCH config LOONGARCH
bool bool
default y default y
select ACPI
select ACPI_GENERIC_GSI if ACPI select ACPI_GENERIC_GSI if ACPI
select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
select ARCH_BINFMT_ELF_STATE select ARCH_BINFMT_ELF_STATE
...@@ -51,6 +52,7 @@ config LOONGARCH ...@@ -51,6 +52,7 @@ config LOONGARCH
select ARCH_WANTS_NO_INSTR select ARCH_WANTS_NO_INSTR
select BUILDTIME_TABLE_SORT select BUILDTIME_TABLE_SORT
select COMMON_CLK select COMMON_CLK
select EFI
select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS
select GENERIC_CMOS_UPDATE select GENERIC_CMOS_UPDATE
select GENERIC_CPU_AUTOPROBE select GENERIC_CPU_AUTOPROBE
...@@ -103,6 +105,7 @@ config LOONGARCH ...@@ -103,6 +105,7 @@ config LOONGARCH
select OF_EARLY_FLATTREE select OF_EARLY_FLATTREE
select PERF_USE_VMALLOC select PERF_USE_VMALLOC
select RTC_LIB select RTC_LIB
select SMP
select SPARSE_IRQ select SPARSE_IRQ
select SYSCTL_EXCEPTION_TRACE select SYSCTL_EXCEPTION_TRACE
select SWIOTLB select SWIOTLB
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册