OSDN Git Service

csky: Fixup ftrace modify panic
authorGuo Ren <guoren@linux.alibaba.com>
Sun, 2 Feb 2020 01:58:42 +0000 (09:58 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 21 Feb 2020 07:43:24 +0000 (15:43 +0800)
commit359ae00d12589c31cf103894d0f32588d523ca83
tree342c0370d09ec4e72d8f894212c79090cf53fad4
parent997153b9a75c08d545ad45e6f8ceb432435d2425
csky: Fixup ftrace modify panic

During ftrace init, linux will replace all function prologues
(call_mcout) with nops, but it need flush_dcache and
invalidate_icache to make it work. So flush_cache functions
couldn't be nested called by ftrace framework.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/mm/Makefile