]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
hrtimer: splitout peek ahead functionality, fix
authorIngo Molnar <mingo@elte.hu>
Mon, 5 Jan 2009 13:11:10 +0000 (14:11 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Jan 2009 13:11:10 +0000 (14:11 +0100)
Impact: build fix on !CONFIG_HIGH_RES_TIMERS

Fix:

  kernel/hrtimer.c:1586: error: implicit declaration of function '__hrtimer_peek_ahead_timers'

Signen-off-by: Ingo Molnar <mingo@elte.hu>
kernel/hrtimer.c

index aa024f2af78cad2ab8b9017d5a5e1298a045254b..1455b7651b6b27f9343809260976a1df3e4678e6 100644 (file)
@@ -1268,7 +1268,11 @@ static void run_hrtimer_softirq(struct softirq_action *h)
        hrtimer_peek_ahead_timers();
 }
 
-#endif /* CONFIG_HIGH_RES_TIMERS */
+#else /* CONFIG_HIGH_RES_TIMERS */
+
+static inline void __hrtimer_peek_ahead_timers(void) { }
+
+#endif /* !CONFIG_HIGH_RES_TIMERS */
 
 /*
  * Called from timer softirq every jiffy, expire hrtimers: