diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2019-10-02 12:56:27 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-10-31 17:20:53 +0100 |
commit | ea3f6dcfa71afb51753ad3729c29570f90d6abbc (patch) | |
tree | 15d50b5925deaab9ec52f5605cf4891cfeb9f296 /arch/s390/mm/fault.c | |
parent | d3baaeb5ae0870973bfe0f6aaed887b894d5e560 (diff) |
s390/unwind: fix get_stack_pointer(NULL, NULL)
unwind_for_each_frame(NULL, NULL, 0) does not return any valid frames.
The reason is that get_stack_pointer, unlike get_stack_info and
show_stack, does not handle NULL argument.
Fix by making get_stack_pointer treat NULL as current, like
get_stack_info and show_stack do.
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Tested-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm/fault.c')
0 files changed, 0 insertions, 0 deletions