mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08: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
|