]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup dead loop in show_stack
authorGuo Ren <ren_guo@c-sky.com>
Thu, 31 Jan 2019 06:34:37 +0000 (14:34 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Wed, 13 Feb 2019 01:48:14 +0000 (09:48 +0800)
commitb17fc0c933fe3ae1fd9534c4a9c84af1601a6bfe
tree7a627f509aec9f17e36bd540b44fd167ef0e0482
parentc01a9f8cc63dbc26850f431cc576938950e9d2f2
csky: Fixup dead loop in show_stack

When STACKTRACE is enabled, we must pass fp as stack for unwind,
otherwise random value in stack will casue a dead loop.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reported-by: Lu Baoquan <lu.baoquan@intellif.com>
arch/csky/kernel/dumpstack.c