Commit e9225495 authored by Guo Ren's avatar Guo Ren Committed by Greg Kroah-Hartman
Browse files

csky: Fixup ftrace modify panic



[ Upstream commit 359ae00d ]

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: default avatarGuo Ren <guoren@linux.alibaba.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ae909701
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment