aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-23 07:00:57 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-23 06:57:00 -0400
commitf8e256c687eb53850685747757c8d75e58756e15 (patch)
tree56a406943bb27888be8c814a44958b7314b46f29 /kernel
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')
-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 55c3f4be6077..469248782c23 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)
74{ 74{
75 return 0; 75 return 0;
76} 76}
77static inline int tick_broadcast_oneshot_active(void) { return 0; }
77#endif /* !TICK_ONESHOT */ 78#endif /* !TICK_ONESHOT */
78 79
79/* 80/*