ARC: Fix KSTK_ESP()

commit 13648b0118 upstream.

/proc/<pid>/maps currently don't annotate stack vma with "[stack]"
This is because KSTK_ESP ie expected to return usermode SP of tsk while
currently it returns the kernel mode SP of a sleeping tsk.

While the fix is trivial, we also need to adjust the ARC kernel stack
unwinder to not use KSTK_SP and friends any more.

Reported-and-suggested-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Vineet Gupta 2015-02-27 10:39:17 +05:30 • committed by Luis Henriques
commit 65c695700a
2 changed files with 8 additions and 7 deletions