s390/perf_event: fix address range for asynchronous stack
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 9 Feb 2016 11:00:16 +0000 (12:00 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Feb 2016 08:25:22 +0000 (09:25 +0100)
commit1f8cbb9c8365061d8b866e9b4f4403e029d57989
tree73611f08d318a2d2340bf360ee570b860961019a
parente0115875c04548255212ebd7dbd90bdbe1257f48
s390/perf_event: fix address range for asynchronous stack

git commit dc7ee00d4771 ("s390: lowcore stack pointer offsets")
introduced a regression in regard to perf_callchain_kernel(). The
stack pointer for the asynchronous stack in the lowcore now has an
additional offset applied. This offset needs to be taken into account
in the calculation for the low and high address for the stack.

This bug was already partially fixed with 9cc5c206d9b4
("s390/dumpstack: fix address ranges for asynchronous and panic
stack"). This patch fixes it also for the perf_event code.

Fixes: dc7ee00d4771 ("s390: lowcore stack pointer offsets")
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/perf_event.c