projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe31fca
)
hrtimer: Make __hrtimer_get_next_event() static
author
kbuild test robot
<
[email protected]
>
Fri, 23 Jan 2015 12:12:06 +0000
(20:12 +0800)
committer
Thomas Gleixner
<
[email protected]
>
Sat, 24 Jan 2015 09:53:36 +0000
(10:53 +0100)
kernel/time/hrtimer.c:444:9: sparse: symbol '__hrtimer_get_next_event' was not declared. Should it be static?
Fixes: 9bc7491906b4 hrtimer: Prevent stale expiry time in hrtimer_interrupt()
Signed-off-by: Fengguang Wu <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/20150123121206.GA4766@snb
Signed-off-by: Thomas Gleixner <
[email protected]
>
kernel/time/hrtimer.c
patch
|
blob
|
history
diff --git
a/kernel/time/hrtimer.c
b/kernel/time/hrtimer.c
index b67ebeaa447bae32b510f8283789a717fcfc1436..ce8221ac5f394e10031bb595d645b1d43a06bab2 100644
(file)
--- a/
kernel/time/hrtimer.c
+++ b/
kernel/time/hrtimer.c
@@
-441,7
+441,7
@@
static inline void debug_deactivate(struct hrtimer *timer)
}
#if defined(CONFIG_NO_HZ_COMMON) || defined(CONFIG_HIGH_RES_TIMERS)
-ktime_t __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base)
+
static
ktime_t __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base)
{
struct hrtimer_clock_base *base = cpu_base->clock_base;
ktime_t expires, expires_next = { .tv64 = KTIME_MAX };