summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Wei <Wei.Yang@windriver.com>2014-05-13 11:10:08 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-05-23 09:23:09 +0200
commit0d24d1f2495ec4d6996c70c8edec202053cf7e69 (patch)
tree2d99dd69487d11c93c3537d9e6bbd6c589e4ca6d
parent95c19a06ec1cf9530ebb8f2c7eeda1d7398b43f1 (diff)
downloadlwn-0d24d1f2495ec4d6996c70c8edec202053cf7e69.tar.gz
lwn-0d24d1f2495ec4d6996c70c8edec202053cf7e69.zip
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>
-rw-r--r--drivers/clocksource/dw_apb_timer_of.c2
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)
sched_rate = rate;
}
-static u64 read_sched_clock(void)
+static u64 notrace read_sched_clock(void)
{
return ~__raw_readl(sched_io_base);
}