From 0d24d1f2495ec4d6996c70c8edec202053cf7e69 Mon Sep 17 00:00:00 2001 From: Yang Wei Date: Tue, 13 May 2014 11:10:08 +0800 Subject: [PATCH] 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 Signed-off-by: Daniel Lezcano --- drivers/clocksource/dw_apb_timer_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource/dw_apb_timer_of.c index 2a2ea2717f3a..d305fb089767 100644 --- a/drivers/clocksource/dw_apb_timer_of.c +++ b/drivers/clocksource/dw_apb_timer_of.c @@ -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); } -- 2.39.5