]> git.baikalelectronics.ru Git - kernel.git/commit
s390/oprofile: fix address range for asynchronous stack
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 9 Feb 2016 11:03:31 +0000 (12:03 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Feb 2016 08:25:22 +0000 (09:25 +0100)
commitc644c78c851f69acb677e25442dc725c9da32fe6
tree62b37beadca4caa0f1a6826005240296ea03f27f
parent6da0e6ff81b8249e48fd032b20c3bfcf9605efcb
s390/oprofile: fix address range for asynchronous stack

git commit e3902de9317e ("s390: lowcore stack pointer offsets")
introduced a regression in regard to s390_backtrace(). 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 commit c0aab57b7eef
("s390/dumpstack: fix address ranges for asynchronous and panic
stack"). This patch fixes it also for the oprofile code.

Fixes: e3902de9317e ("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/oprofile/backtrace.c