Commit 4ebbda52 authored by kbuild test robot's avatar kbuild test robot Committed by Thomas Gleixner

hrtimer: Make __hrtimer_get_next_event() static

kernel/time/hrtimer.c:444:9: sparse: symbol '__hrtimer_get_next_event' was not declared. Should it be static?

Fixes: 9bc74919 hrtimer: Prevent stale expiry time in hrtimer_interrupt()
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Cc: kbuild-all@01.org
Link: http://lkml.kernel.org/r/20150123121206.GA4766@snbSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent fe31fca3
...@@ -441,7 +441,7 @@ static inline void debug_deactivate(struct hrtimer *timer) ...@@ -441,7 +441,7 @@ static inline void debug_deactivate(struct hrtimer *timer)
} }
#if defined(CONFIG_NO_HZ_COMMON) || defined(CONFIG_HIGH_RES_TIMERS) #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; struct hrtimer_clock_base *base = cpu_base->clock_base;
ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; ktime_t expires, expires_next = { .tv64 = KTIME_MAX };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment