x86: xen: move cpu_up functions out of ifdef
authorArnd Bergmann <arnd@arndb.de>
Wed, 12 Oct 2016 15:20:38 +0000 (17:20 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 24 Oct 2016 14:49:07 +0000 (15:49 +0100)
commitcb5f7e7c1ded5ff91b18116669c0f43c82bea3db
treecb80a4b843a575b7ed16460c57019d044469f079
parent44b3c7af02ca2701b6b90ee30c9d1d9c3ae07653
x86: xen: move cpu_up functions out of ifdef

Three newly introduced functions are not defined when CONFIG_XEN_PVHVM is
disabled, but are still being used:

arch/x86/xen/enlighten.c:141:12: warning: ‘xen_cpu_up_prepare’ used but never defined
arch/x86/xen/enlighten.c:142:12: warning: ‘xen_cpu_up_online’ used but never defined
arch/x86/xen/enlighten.c:143:12: warning: ‘xen_cpu_dead’ used but never defined

Fixes: 4d737042d6c4 ("xen/x86: Convert to hotplug state machine")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/enlighten.c