diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-12-31 20:52:41 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-12-31 23:17:23 +0800 |
commit | 0c87bb0e872cbbad59a965fc67668364066aa85e (patch) | |
tree | 9a5333366ac6d864a0036c448446895548d0f8fc /drivers | |
parent | d7950be145c84ca5094c52bc1ad1e7f1893d0f19 (diff) |
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: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clocksource/timer-mp-csky.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-mp-csky.c b/drivers/clocksource/timer-mp-csky.c index 3cb6dbc88b6d..183a9955160a 100644 --- a/drivers/clocksource/timer-mp-csky.c +++ b/drivers/clocksource/timer-mp-csky.c @@ -97,7 +97,7 @@ static int csky_mptimer_dying_cpu(unsigned int cpu) /* * clock source */ -static u64 sched_clock_read(void) +static u64 notrace sched_clock_read(void) { return (u64)mfcr(PTIM_CCVR); } |