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)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:51 +0000 (09:09 -0700)
commit082fec5ea3d328ceb86a9590c5e47efedc5ea45c
treef898a50982edffd1e75a78a3e92408d8ebbf95ba
parentd20e6ae8aceb712a3c74263f17c28ca63bb2a677
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