]> 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)
commitb3127d717c5448b78604afe519ec16f21aff8b71
tree62b37beadca4caa0f1a6826005240296ea03f27f
parent8ec0200ba627923930751a4ea4a75b0f1393de51
s390/oprofile: fix address range for asynchronous stack

git commit 342419252fd7 ("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 3b30ac6ac523
("s390/dumpstack: fix address ranges for asynchronous and panic
stack"). This patch fixes it also for the oprofile code.

Fixes: 342419252fd7 ("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