s390/dumpstack: simplify in stack logic code
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 27 Mar 2023 09:37:21 +0000 (11:37 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 4 Apr 2023 16:34:55 +0000 (18:34 +0200)
commite6badee94027a4e9586e6b5d087bc96e9e4d554c
treeaddaa1f066ed90a7b405f94506c7f75b8a8bc3f7
parent0f2d4fee91e9bdba9ee4f2cfdc9d7cddb033d4a5
s390/dumpstack: simplify in stack logic code

The pattern for all in_<type>_stack() functions is the same; especially
also the size of all stacks is the same. Simplify the code by passing only
the stack address to the generic in_stack() helper, which then can assume a
THREAD_SIZE sized stack.

Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/dumpstack.c