hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I90I68 CVE: NA
---------------------------
Fix the compile error when compiling hisi_hbmdev.ko and COMPILE_TEST is open. The reason is that cpu_l2c_id is not exported in ARCH x86_64.
ERROR: modpost: "cpu_l2c_id" [drivers/soc/hisilicon/hisi_hbmdev.ko] undefined! make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1 make[1]: *** [/home/jenkins/agent/workspace/multiarch/openeuler/x86-64/kernel/openeuler/kernel/Makefile:1874: modpost] Error 2 make: *** [Makefile:234: __sub-make] Error 2
Signed-off-by: Zhang Zekun zhangzekun11@huawei.com --- v2: - remove "depends on" for hbmdev acls - remove "depends on" for hbmcache
drivers/soc/hisilicon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/hisilicon/Kconfig b/drivers/soc/hisilicon/Kconfig index 0a07d0e266a5..8f0222bb2cb9 100644 --- a/drivers/soc/hisilicon/Kconfig +++ b/drivers/soc/hisilicon/Kconfig @@ -5,7 +5,7 @@ menu "Hisilicon SoC drivers"
config HISI_HBMDEV tristate "add extra support for hbm memory device" - depends on ACPI_HOTPLUG_MEMORY + depends on ACPI_HOTPLUG_MEMORY && ARCH_HISI select ACPI_CONTAINER help This driver add two extra supports for memory devices. The driver