OSDN Git Service

ARM: vfp: Move exception address fixup into vfphw.S
authorColin Cross <ccross@android.com>
Thu, 27 Jan 2011 23:46:20 +0000 (15:46 -0800)
committerIliyan Malchev <malchev@google.com>
Mon, 23 May 2011 22:43:56 +0000 (15:43 -0700)
commite7646255cf48da9d3a3372fc1144dfbab128cf14
tree262662228d480c7505b7bb3fe5edb0ee87323f37
parent80776c083a09f48e26d3d52cceefea1b38be8f9b
ARM: vfp: Move exception address fixup into vfphw.S

If the PC on the stack is updated in entry-armv.S,
do_undefinstr can get called after the fixup.  do_undefinstr
does its own fixup, and doing both causes the PC to point to
half way through an instruction.

Instead, do the fixup in do_vfp, where only the vfp code
can get called.

Change-Id: I6d966887adc8ed58d88bfe0cb3c0ba29213be488
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/kernel/entry-armv.S
arch/arm/vfp/entry.S