ARM: vexpress/MCPM: fix cache disable sequence when CONFIG_FRAME_POINTER=y
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 14 Aug 2013 14:25:14 +0000 (10:25 -0400)
committerOlof Johansson <olof@lixom.net>
Wed, 14 Aug 2013 20:05:42 +0000 (13:05 -0700)
If CONFIG_FRAME_POINTER=y we get the following error:

arch/arm/mach-vexpress/tc2_pm.c: In function 'tc2_pm_down':
arch/arm/mach-vexpress/tc2_pm.c:200:1: error: fp cannot be used in asm here

Let's fix that by explicitly preserving r11 on the stack and removing it
from the clobber list.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>

No differences found