diff options
author | Yang Wei <Wei.Yang@windriver.com> | 2014-05-12 23:10:08 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-05-23 03:23:09 -0400 |
commit | 0d24d1f2495ec4d6996c70c8edec202053cf7e69 (patch) | |
tree | 2d99dd69487d11c93c3537d9e6bbd6c589e4ca6d /drivers/clocksource | |
parent | 95c19a06ec1cf9530ebb8f2c7eeda1d7398b43f1 (diff) |
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>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/dw_apb_timer_of.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
106 | sched_rate = rate; | 106 | sched_rate = rate; |
107 | } | 107 | } |
108 | 108 | ||
109 | static u64 read_sched_clock(void) | 109 | static u64 notrace read_sched_clock(void) |
110 | { | 110 | { |
111 | return ~__raw_readl(sched_io_base); | 111 | return ~__raw_readl(sched_io_base); |
112 | } | 112 | } |