]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9477bd37c3c82cf8a604430efb186ff77c9cef82
tree342c0370d09ec4e72d8f894212c79090cf53fad4
parent96f1c4d7356ac3bddaac11e68edc65ed31cc9e17
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