4c9e0f76a5
The hip04 smp implementation provides the hotplug operations (cpu_die
and cpu_kill) unconditionally at the moment, which leads to a build
error when HOTPLUG_CPU is disabled:
mach-hisi/platmcpm.c:242:13: note: (near initialization for 'hip04_smp_ops')
mach-hisi/platmcpm.c:242:2: error: unknown field 'cpu_die' specified in initializer
mach-hisi/platmcpm.c:243:2: error: unknown field 'cpu_kill' specified in initializer
This uses an #ifdef to remove the code from the build when that
option is not set.
Fixes:
|
||
---|---|---|
.. | ||
core.h | ||
headsmp.S | ||
hisilicon.c | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
platmcpm.c | ||
platsmp.c |