Build error: versatile express
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Aug 12 13:06:52 EDT 2013
On Mon, Aug 12, 2013 at 12:55:23PM -0400, Nicolas Pitre wrote:
> On Mon, 12 Aug 2013, Dave Martin wrote:
> > On Mon, Aug 12, 2013 at 11:28:04AM +0100, Russell King - ARM Linux wrote:
> > > arch/arm/mach-vexpress/tc2_pm.c: In function 'tc2_pm_down.clone.0':
> > > arch/arm/mach-vexpress/tc2_pm.c:200:1: error: fp cannot be used in asm here
> > >
> > > This is caused by the assembly code in this file clobbering R11, which
> > > is incompatible with having CONFIG_FRAME_POINTER=y.
> > Is there any reason not to fix this just by pushing/popping r11 inside
> > the asm and removing it from the clobber list?
> That's most likely the best fix. What about this?
> ---- >8
> From: Nicolas Pitre <nicolas.pitre at linaro.org>
> Date: Mon, 12 Aug 2013 12:47:13 -0400
> Subject: [PATCH] ARM: vexpress/MCPM: fix cache disable sequence when
> If CONFIG_FRAME_POINTER=y we hget 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 <linux at arm.linux.org.uk>
rmk+kernel at arm.linux.org.uk please
More information about the linux-arm-kernel