Commit 6fc3b506 authored by Zhang Zekun's avatar Zhang Zekun
Browse files

soc: hisilicon: hisi_hbmdev: Fix compile error

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: default avatarZhang Zekun <zhangzekun11@huawei.com>
parent f6f9abf1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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