arm64: fix the compile error when CONFIG_NUMA is disabled
hulk inclusion category: bugfix bugzilla: 47994 CVE: NA ------------------------------------------------------------------------- Fix the following compile error when CONFIG_NUMA is disabled. arch/arm64/kernel/acpi.c: In function ‘acpi_map_cpu’: arch/arm64/kernel/acpi.c:415:3: error: implicit declaration of function ‘numa_add_cpu’; did you mean ‘be64_add_cpu’? [-Werror=implicit-function-declaration] numa_add_cpu(cpu); ^~~~~~~~~~~~ be64_add_cpu arch/arm64/kernel/acpi.c: In function ‘acpi_unmap_cpu’: arch/arm64/kernel/acpi.c:428:2: error: implicit declaration of function ‘numa_clear_node’; did you mean ‘pmd_clear_huge’? [-Werror=implicit-function-declaration] numa_clear_node(cpu); ^~~~~~~~~~~~~~~ pmd_clear_huge Signed-off-by: NXiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录