aboutsummaryrefslogtreecommitdiff
path: root/kernel/time/tick-internal.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-23 13:00:57 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-23 12:57:00 +0200
commitf8e256c687eb53850685747757c8d75e58756e15 (patch)
tree56a406943bb27888be8c814a44958b7314b46f29 /kernel/time/tick-internal.h
parent09bfeea13cea843fb03eaa96b5d891fa0abdcc90 (diff)
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 <mingo@elte.hu>
Diffstat (limited to 'kernel/time/tick-internal.h')
-rw-r--r--kernel/time/tick-internal.h1
1 files changed, 1 insertions, 0 deletions
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 */
/*