Commit 82c5b7b527ccc4b5d3cf832437e842f9d2920a79
1 parent
e3f1d88374
Exists in
master
and in
4 other branches
hrtimer: splitout peek ahead functionality, fix
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>
Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff
kernel/hrtimer.c
... | ... | @@ -1268,7 +1268,11 @@ |
1268 | 1268 | hrtimer_peek_ahead_timers(); |
1269 | 1269 | } |
1270 | 1270 | |
1271 | -#endif /* CONFIG_HIGH_RES_TIMERS */ | |
1271 | +#else /* CONFIG_HIGH_RES_TIMERS */ | |
1272 | + | |
1273 | +static inline void __hrtimer_peek_ahead_timers(void) { } | |
1274 | + | |
1275 | +#endif /* !CONFIG_HIGH_RES_TIMERS */ | |
1272 | 1276 | |
1273 | 1277 | /* |
1274 | 1278 | * Called from timer softirq every jiffy, expire hrtimers: |