timers: fix build error in !oneshot case
authorIngo Molnar <mingo@elte.hu>
Tue, 23 Sep 2008 11:00:57 +0000 (13:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Sep 2008 10:57:00 +0000 (12:57 +0200)
 kernel/time/tick-common.c: In function ‘tick_setup_periodic’:
 kernel/time/tick-common.c:113: error: implicit declaration of function ‘tick_broadcast_oneshot_active’

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-internal.h

index 55c3f4b..4692487 100644 (file)
@@ -74,6 +74,7 @@ static inline int tick_resume_broadcast_oneshot(struct clock_event_device *bc)
 {
        return 0;
 }
+static inline int tick_broadcast_oneshot_active(void) { return 0; }
 #endif /* !TICK_ONESHOT */
 
 /*