linux/arch/arc
Vineet Gupta b7dc640d64 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: Sasha Levin <sasha.levin@oracle.com>
History 2015-03-14 15:37:27 -04:00
..
boot ARC: [nsimosci] move peripherals to match model to FPGA 2015-01-27 08:29:36 -08:00
configs ARC: [arcfpga] Get rid of ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 2014-10-13 14:46:14 +05:30
include ARC: Fix KSTK_ESP() 2015-03-14 15:37:27 -04:00
kernel ARC: Fix KSTK_ESP() 2015-03-14 15:37:27 -04:00
lib ARC: switch to generic ENTRY/END assembler annotations 2014-03-26 14:31:28 +05:30
mm arc: mm: Fix build failure 2015-02-05 22:36:01 -08:00
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC: [arcfpga] Get rid of ARC_BOARD_ANGEL4 and ARC_BOARD_ML509 2014-10-13 14:46:14 +05:30
plat-tb10x ARC: [plat*] move code out of .init_machine into common 2014-10-13 14:46:13 +05:30
Kbuild ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Kconfig ARC: Remove unneeded Kconfig entry NO_DMA 2014-10-13 14:46:19 +05:30
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile ARC: remove gcc mpy heuristics 2014-10-13 14:46:17 +05:30