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 55c3f4be6077c4ebe8c3281c41dd97f099716610..469248782c2355c0c2d31cf731dc8c692023268e 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 */
 
 /*