csky: Fixup add zero_fp fixup perf backtrace panic
authorGuo Ren <ren_guo@c-sky.com>
Wed, 25 Sep 2019 11:56:16 +0000 (19:56 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Mon, 30 Sep 2019 02:26:32 +0000 (10:26 +0800)
commit48ede51fd94fe9251058fc85626b2aeb5cbb5884
tree0937cf6de34f7cb04f87c1501a8d7af8cd1e27f8
parentfdbdcddc2c93096e9b956de930d2d710a1342502
csky: Fixup add zero_fp fixup perf backtrace panic

We need set fp zero to let backtrace know the end. The patch fixup perf
callchain panic problem, because backtrace didn't know what is the end
of fp.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reported-by: Mao Han <han_mao@c-sky.com>
arch/csky/kernel/entry.S
arch/csky/kernel/process.c