1
0
Fork 0

clocksource: dw_apb_timer_of: Do not trace read_sched_clock

We do not need to trace read_sched_clock function,
so add notrace attribute for this function.

Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
hifive-unleashed-5.1
Yang Wei 2014-05-13 11:10:08 +08:00 committed by Daniel Lezcano
parent 95c19a06ec
commit 0d24d1f249
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ static void __init add_clocksource(struct device_node *source_timer)
sched_rate = rate;
}
static u64 read_sched_clock(void)
static u64 notrace read_sched_clock(void)
{
return ~__raw_readl(sched_io_base);
}