Skip to content

Commit f8e256c

Browse files
author
Ingo Molnar
committed
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 <[email protected]>
1 parent 09bfeea commit f8e256c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/time/tick-internal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ static inline int tick_resume_broadcast_oneshot(struct clock_event_device *bc)
7474
{
7575
return 0;
7676
}
77+
static inline int tick_broadcast_oneshot_active(void) { return 0; }
7778
#endif /* !TICK_ONESHOT */
7879

7980
/*

0 commit comments

Comments
 (0)