diff options
author | Colin Cross <ccross@android.com> | 2011-01-14 14:32:49 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:38:27 -0800 |
commit | 7f462b93e77b60ed7fc384fb3d3828e91a0c9f61 (patch) | |
tree | b4acaf7760cb08ec003db441dc73518ae208da34 /mm/memory-failure.c | |
parent | 12f880372b366619a0082174bbc3e851c504fa27 (diff) |
ARM: Fix up vfp exception location in thumb mode
The exception handler in entry-armv.S checks for thumb mode and
correctly determines the exception location and instruction,
but VFP_bounce uses the uncorrected location off the stack.
If the VFP exception occured in Thumb mode, fix up the
exception location on the stack to match the value that would
be returned in ARM mode.
Fixes segfaults in userspace applications running in Thumb mode
caused by a handled VFP exception returning to the middle of the
instruction that triggered the exception.
Change-Id: I02be4c5b546561d9a967a02c1e9eb1de876cff07
Original-author: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions