summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorYang Wei <Wei.Yang@windriver.com>2014-05-13 05:10:08 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-05-23 09:23:09 +0200
commit0d24d1f2495ec4d6996c70c8edec202053cf7e69 (patch)
tree2d99dd69487d11c93c3537d9e6bbd6c589e4ca6d /drivers/clocksource
parentclocksource: Fix clocksource_mmio_readX_down (diff)
downloadlinux-0d24d1f2495ec4d6996c70c8edec202053cf7e69.tar.xz
linux-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>
Diffstat (limited to 'drivers/clocksource')
-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);
}