diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-01-23 07:12:06 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-01-24 04:53:36 -0500 |
commit | 4ebbda5251374d532ba8939de4241d769d1420b6 (patch) | |
tree | bfe584d9d6564fbfba129a865348731c4275aec5 /kernel/time/hrtimer.c | |
parent | fe31fca35d6af9176eec0024fac2ceeaacbc8639 (diff) |
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: 9bc7491906b4 hrtimer: Prevent stale expiry time in hrtimer_interrupt()
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: kbuild-all@01.org
Link: http://lkml.kernel.org/r/20150123121206.GA4766@snb
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/hrtimer.c')
-rw-r--r-- | kernel/time/hrtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index b67ebeaa447b..ce8221ac5f39 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c | |||
@@ -441,7 +441,7 @@ static inline void debug_deactivate(struct hrtimer *timer) | |||
441 | } | 441 | } |
442 | 442 | ||
443 | #if defined(CONFIG_NO_HZ_COMMON) || defined(CONFIG_HIGH_RES_TIMERS) | 443 | #if defined(CONFIG_NO_HZ_COMMON) || defined(CONFIG_HIGH_RES_TIMERS) |
444 | ktime_t __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base) | 444 | static ktime_t __hrtimer_get_next_event(struct hrtimer_cpu_base *cpu_base) |
445 | { | 445 | { |
446 | struct hrtimer_clock_base *base = cpu_base->clock_base; | 446 | struct hrtimer_clock_base *base = cpu_base->clock_base; |
447 | ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; | 447 | ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; |