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
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4400 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/4...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4400 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/4...