From: Ingo Molnar Date: Tue, 23 Sep 2008 11:00:57 +0000 (+0200) Subject: timers: fix build error in !oneshot case X-Git-Tag: v2.6.27-rc8~27^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f8e256c687eb53850685747757c8d75e58756e15;p=linux-2.6-omap-h63xx.git timers: fix build error in !oneshot case 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 --- diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h index 55c3f4be607..469248782c2 100644 --- a/kernel/time/tick-internal.h +++ b/kernel/time/tick-internal.h @@ -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 */ /*