ARM: 7745/1: psci: fix building without HOTPLUG_CPU
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2013 22:09:14 +0000 (23:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 5 Jun 2013 22:36:22 +0000 (23:36 +0100)
commitfdeb94b5dc5bf9db7b3e36f3f38089a554f6a108
tree1cf3cfe5fa0a2a3faaa3ee9d13e9bb0277531c2e
parent78ecad0183bd7e49131da2b5aa82bee017db1cf0
ARM: 7745/1: psci: fix building without HOTPLUG_CPU

The cpu_die field in smp_operations is not valid with CONFIG_HOTPLUG_CPU,
so we must enclose it in #ifdef, but at least that lets us remove
two other lines.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/psci_smp.c