mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 15:39:23 +02:00
cc141d8963
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19557 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
542 B
Diff
23 lines
542 B
Diff
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)
|
|
|
|
#else /* CONFIG_GENERIC_TIME */
|
|
|
|
+static inline u64 clocksource_max_deferment(struct clocksource *cs)
|
|
+{
|
|
+ return 0;
|
|
+}
|
|
+
|
|
static inline void clocksource_select(void) { }
|
|
|
|
#endif
|