]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f95669ca45d98d2d410c93675aee98cc468bc07
treef57b0c2ff1ebf3a0d4b69aa2141d14c6fa22050a
parent20363624164e0027a63cdca693bb805c1472f9ea
ARM: vexpress/MCPM: fix cache disable sequence when CONFIG_FRAME_POINTER=y

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>
arch/arm/mach-vexpress/dcscb.c
arch/arm/mach-vexpress/tc2_pm.c