Skip to content

Commit

Permalink
clocksource: dw_apb_timer_of: Do not trace read_sched_clock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yang Wei authored and Daniel Lezcano committed May 23, 2014
1 parent 95c19a0 commit 0d24d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/dw_apb_timer_of.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0d24d1f

Please sign in to comment.