[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-4ebbda5251374d532ba8939de4241d769d1420b6@git.kernel.org>
Date: Sat, 24 Jan 2015 02:00:28 -0800
From: tip-bot for kbuild test robot <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, linux-kernel@...r.kernel.org, mingo@...nel.org,
hpa@...or.com, fengguang.wu@...el.com
Subject: [tip:timers/core] hrtimer: Make __hrtimer_get_next_event() static
Commit-ID: 4ebbda5251374d532ba8939de4241d769d1420b6
Gitweb: http://git.kernel.org/tip/4ebbda5251374d532ba8939de4241d769d1420b6
Author: kbuild test robot <fengguang.wu@...el.com>
AuthorDate: Fri, 23 Jan 2015 20:12:06 +0800
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Sat, 24 Jan 2015 10:53:36 +0100
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@...el.com>
Cc: kbuild-all@...org
Link: http://lkml.kernel.org/r/20150123121206.GA4766@snb
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
kernel/time/hrtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index b67ebea..ce8221a 100644
--- 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 };
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists