diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-05 08:11:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-05 08:11:10 -0500 |
commit | 82c5b7b527ccc4b5d3cf832437e842f9d2920a79 (patch) | |
tree | cc7da1c4c75f7ac6fb8dbe63273f2c88f0d12dd8 /kernel | |
parent | e3f1d883740b09e5116d4d4e30a6a6987264a83c (diff) |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/hrtimer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index aa024f2af78c..1455b7651b6b 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -1268,7 +1268,11 @@ static void run_hrtimer_softirq(struct softirq_action *h) | |||
1268 | hrtimer_peek_ahead_timers(); | 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 | * Called from timer softirq every jiffy, expire hrtimers: | 1278 | * Called from timer softirq every jiffy, expire hrtimers: |