• Vineet Gupta's avatar
    ARC: Fix KSTK_ESP() · 13648b01
    Vineet Gupta authored
    /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.
    
    Cc: <stable@vger.kernel.org>
    Reported-and-suggested-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    13648b01
stacktrace.c 6.94 KB