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>
Wed, 2 Feb 2011 17:52:38 +0000 (09:52 -0800)
commit23b6f13927416ced600e5a27f4d17ba54d857ad9
tree70f9ff030708ca10e8e607d22780f17966659a97
parentfa51e1a77ebb12ca61510370e78e679a314e3dda
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