summaryrefslogtreecommitdiff
path: root/arch/s390/lib/delay.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-04-29 14:28:45 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-05-14 13:37:06 +0200
commit87eceb17a987802aeee718be4decd19b56fc8e33 (patch)
tree0c27fa2a537cbd580756c560b265d4fc72fb6432 /arch/s390/lib/delay.c
parentebd912ff9919a10609511383d94942362234c077 (diff)
downloadlinux-87eceb17a987802aeee718be4decd19b56fc8e33.tar.gz
linux-87eceb17a987802aeee718be4decd19b56fc8e33.tar.bz2
linux-87eceb17a987802aeee718be4decd19b56fc8e33.zip
s390/stacktrace: Skip first user stack frame
When walking user stack frames the first stack frame (where the stack pointer points to) should be skipped: the return address of the current function is saved in the previous stack frame, not the current stack frame, which is allocated for to be called functions. Fixes: aa44433ac4ee ("s390: add USER_STACKTRACE support") Reviewed-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/lib/delay.c')
0 files changed, 0 insertions, 0 deletions