@@ -1436,6 +1436,8 @@ static inline int hrtimer_rt_defer(struct hrtimer *timer) { return 0; }
#endif
+static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);
+
static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now)
{
struct hrtimer_clock_base *base = cpu_base->clock_base;
@@ -1490,8 +1492,6 @@ static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now)
raise_softirq_irqoff(HRTIMER_SOFTIRQ);
}
-static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);
-
#ifdef CONFIG_HIGH_RES_TIMERS
/*
Forward declare function hrtimer_wakeup before use. Used allmodconfig+CONFIG_OF=n and this caused a compilation error without this fix: ../kernel/time/hrtimer.c: In function '__hrtimer_run_queues': ../kernel/time/hrtimer.c:1464:27: error: 'hrtimer_wakeup' undeclared (first use in this function) timer->function == hrtimer_wakeup ? Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- kernel/time/hrtimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html