projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c19a0
)
clocksource: dw_apb_timer_of: Do not trace read_sched_clock
author
Yang Wei
<Wei.Yang@windriver.com>
Tue, 13 May 2014 03:10:08 +0000
(11:10 +0800)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Fri, 23 May 2014 07:23:09 +0000
(09:23 +0200)
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>
drivers/clocksource/dw_apb_timer_of.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/dw_apb_timer_of.c
b/drivers/clocksource/dw_apb_timer_of.c
index 2a2ea2717f3ac94dfba2fdd6a986c4630556e7da..d305fb089767c1b1c51d05f33c1e84e064f728a7 100644
(file)
--- 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);
}