arm64: fix compile error when CONFIG_ACPI is not enabled
hulk inclusion
category: bugfix
bugzilla: 47994
CVE: NA
-------------------------------------------------------------------------
Fix the following compile error when CONFIG_ACPI is not enabled.
arch/arm64/kernel/smp.c: In function ‘smp_prepare_cpus’:
arch/arm64/kernel/smp.c:785:9: error: ‘cpu_madt_gicc’ undeclared (first use in this function); did you mean ‘bpf_map_inc’?
if ((cpu_madt_gicc[cpu].flags & ACPI_MADT_ENABLED))
^~~~~~~~~~~~~
bpf_map_inc
arch/arm64/kernel/smp.c:785:9: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [arch/arm64/kernel/smp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Signed-off-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by:
Hanjun Guo <guohanjun@huawei.com>
Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment