From: Arnd Bergmann Date: Sat, 15 Mar 2014 10:47:14 +0000 (+0100) Subject: ARM: hisi: fix building without CONFIG_HOTPLUG_CPU X-Git-Tag: v3.15-rc1~81^2~8^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d858f3177eee9dcf7e0a4a933d5269db7875098;p=pandora-kernel.git ARM: hisi: fix building without CONFIG_HOTPLUG_CPU 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 Acked-by: Haojian Zhuang --- Reading git-diff-tree failed