aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-mx27_3ds.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-05-16 14:38:51 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-05-22 17:01:37 -0400
commitf27d6e172367a424ecf9d373062a820338671277 (patch)
tree1b1db576a240cd34293a7de07e1e480715056c84 /arch/arm/mach-imx/mach-mx27_3ds.c
parent4ca46c5e1f38e32c90247686e9e17dae213ecbdb (diff)
ARM: 7729/1: vfp: ensure VFP_arch is non-zero when VFP is not supported
Commit d3f79584a8b5 ("ARM: cleanup undefined instruction entry code") improved the register scheduling when handling undefined instructions. A side effect of this is that r5 is now used as a temporary, whilst the VFP probing code relies on r5 containing a non-zero value when VFP is not supported. This patch fixes the VFP detection code so that we don't rely on the contents of r5. Without this patch, Linux dies loudly on CPUs without VFP support. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx27_3ds.c')
0 files changed, 0 insertions, 0 deletions