]> 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)
commit31a32a754ecc8a61bed45baff1a5d22aaae9ca83
tree342c0370d09ec4e72d8f894212c79090cf53fad4
parent3c6c4314c12c77bff2677d83c127985f3014e6dc
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