mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 14:36:46 +07:00
1d858f3177
The hisi SMP code always uses the hi3xxx_set_cpu() function defined in the hotplug.c file, so we cannot build without this when CONFIG_SMP is enabled. This patch slightly restructures the code so we always build the parts of hotplug.c that we need but just leave out the CPU disable logic if CONFIG_HOTPLUG_CPU is turned off. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
7 lines
111 B
Makefile
7 lines
111 B
Makefile
#
|
|
# Makefile for Hisilicon processors family
|
|
#
|
|
|
|
obj-y += hisilicon.o
|
|
obj-$(CONFIG_SMP) += platsmp.o hotplug.o
|