summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-h3.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-05-23 10:31:54 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-05-28 01:22:49 +0200
commit4c9e0f76a55a38757390d43c40b2c7c3564a855a (patch)
treef55f938c647b400d5e8a19445aa9ee7b59b1fe2d /arch/arm/mach-omap1/board-h3.c
parentARM: MCPM: remove residency argument from mcpm_cpu_suspend() (diff)
downloadlinux-4c9e0f76a55a38757390d43c40b2c7c3564a855a.tar.xz
linux-4c9e0f76a55a38757390d43c40b2c7c3564a855a.zip
ARM: 8370/1: hisi: fix hip04 build without HOTPLUG_CPU
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: 905cdf9dda5d ("ARM: hisi/hip04: remove the MCPM overhead") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Nicolas Pitre <nico@xxxxxxxxxx> Acked-by: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/board-h3.c')
0 files changed, 0 insertions, 0 deletions