mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user