]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: vexpress: use ARM_CPU_SUSPEND if needed
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Feb 2015 12:42:43 +0000 (13:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:53:00 +0000 (14:53 -0800)
commit9487809ac53173adcd4ca61d10f8e30a8eccb373
treef50fc8abcf01623de4cfe1a494c5edaaef19cc90
parent4a6cc3baa11eb7fe1a9e44f2123032341961fafd
ARM: vexpress: use ARM_CPU_SUSPEND if needed

commit 95fcedb027a27f32bf2434f9271635c380e57fb5 upstream.

The vexpress tc2 power management code calls mcpm_loopback, which
is only available if ARM_CPU_SUSPEND is enabled, otherwise we
get a link error:

arch/arm/mach-vexpress/built-in.o: In function `tc2_pm_init':
arch/arm/mach-vexpress/tc2_pm.c:389: undefined reference to `mcpm_loopback'

This explicitly selects ARM_CPU_SUSPEND like other platforms that
need it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 3592d7e002438 ("ARM: 8082/1: TC2: test the MCPM loopback during boot")
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-vexpress/Kconfig