2010-02-07 12:36:01 +00:00
|
|
|
Provide a dummy implementation of clocksource_max_deferment() for such
|
|
|
|
platforms.
|
|
|
|
|
|
|
|
Signed-off-by: Aaro Koskinen <aaro.koskinen <at> iki.fi>
|
|
|
|
---
|
|
|
|
kernel/time/clocksource.c | 5 +++++
|
|
|
|
1 files changed, 5 insertions(+), 0 deletions(-)
|
|
|
|
|
|
|
|
--- a/kernel/time/clocksource.c
|
|
|
|
+++ b/kernel/time/clocksource.c
|
|
|
|
@@ -502,6 +502,11 @@ static void clocksource_select(void)
|
2010-02-08 21:27:13 +00:00
|
|
|
|
2010-02-07 12:36:01 +00:00
|
|
|
#else /* CONFIG_GENERIC_TIME */
|
2010-02-08 21:27:13 +00:00
|
|
|
|
2010-02-07 12:36:01 +00:00
|
|
|
+static inline u64 clocksource_max_deferment(struct clocksource *cs)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
static inline void clocksource_select(void) { }
|
2010-02-08 21:27:13 +00:00
|
|
|
|
2010-02-07 12:36:01 +00:00
|
|
|
#endif
|