Skip to content

Commit

Permalink
hrtimer: splitout peek ahead functionality, fix
Browse files Browse the repository at this point in the history
Impact: build fix on !CONFIG_HIGH_RES_TIMERS

Fix:

  kernel/hrtimer.c:1586: error: implicit declaration of function '__hrtimer_peek_ahead_timers'

Signen-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jan 5, 2009
1 parent e3f1d88 commit 82c5b7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,11 @@ static void run_hrtimer_softirq(struct softirq_action *h)
hrtimer_peek_ahead_timers();
}

#endif /* CONFIG_HIGH_RES_TIMERS */
#else /* CONFIG_HIGH_RES_TIMERS */

static inline void __hrtimer_peek_ahead_timers(void) { }

#endif /* !CONFIG_HIGH_RES_TIMERS */

/*
* Called from timer softirq every jiffy, expire hrtimers:
Expand Down

0 comments on commit 82c5b7b

Please sign in to comment.