s390/stacktrace: use common arch_stack_walk infrastructure
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 14 Aug 2019 12:27:44 +0000 (14:27 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2019 10:58:53 +0000 (12:58 +0200)
commite991e5bb11d6eacf8a49867ff9d4ec6e1cde3718
tree1644cf929387c2886d29cce1666e76f3cac5314e
parent2c7fa8a11cc528e49e88352fce8cf083104b3797
s390/stacktrace: use common arch_stack_walk infrastructure

Use common arch_stack_walk infrastructure to avoid duplicated code and
avoid taking care of the stack storage and filtering.

Common code also uses try_get_task_stack/put_task_stack when needed which
have been missing in our code, which also solves potential problem for us.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/Kconfig
arch/s390/kernel/stacktrace.c