]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] incomplete stack traces.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 29 Jun 2006 12:56:23 +0000 (14:56 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jun 2006 12:56:23 +0000 (14:56 +0200)
commitce1bc6969862a42c58ee612500c2d2337c40c2ef
treed9723ff4d5bdb3533a75eea099df1ded2a95a4b8
parent7ebcab3d93ba954f1115a9795c26423c04b901f0
[S390] incomplete stack traces.

show_stack() passes a pointer to the current stack frame to show_trace().
Because of tail call optimization the pointer doesn't point to the original
stack frame anymory and therefore traces are wrong. Don't pass the pointer
of the current stack frame to show_trace(). Instead let show_trace()
calculate the pointer on its own.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/traps.c