diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-29 15:11:10 (GMT) |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-08-29 15:11:10 (GMT) |
commit | 3168a743461ecf86adf3e7dcfcd79271828fb263 (patch) | |
tree | 023ea03c1e59f6ec198a1b2608fe8a920563956b /.mailmap | |
parent | 2520d039728b2a3c5ae7f79fe2a0e9d182855b12 (diff) | |
download | linux-3168a743461ecf86adf3e7dcfcd79271828fb263.tar.xz |
arm64: report correct stack pointer in KSTK_ESP for compat tasks
The KSTK_ESP macro is used to determine the user stack pointer for a
given task. In particular, this is used to to report the '[stack]' VMA
in /proc/self/maps, which is used by Android to determine the stack
location for children of the main thread.
This patch fixes the macro to use user_stack_pointer instead of directly
returning sp. This means that we report w13 instead of sp, since the
former is used as the stack pointer when executing in AArch32 state.
Cc: <stable@vger.kernel.org>
Reported-by: Serban Constantinescu <Serban.Constantinescu@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions