Commit 0c87bb0e authored by Guo Ren's avatar Guo Ren

clocksource/drivers/c-sky: fixup ftrace call-graph panic

We must add notrace on sched_clock_read, because it's called
by ftrace_graph_caller.
Signed-off-by: default avatarGuo Ren <ren_guo@c-sky.com>
parent d7950be1
...@@ -97,7 +97,7 @@ static int csky_mptimer_dying_cpu(unsigned int cpu) ...@@ -97,7 +97,7 @@ static int csky_mptimer_dying_cpu(unsigned int cpu)
/* /*
* clock source * clock source
*/ */
static u64 sched_clock_read(void) static u64 notrace sched_clock_read(void)
{ {
return (u64)mfcr(PTIM_CCVR); return (u64)mfcr(PTIM_CCVR);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment