[package] base-files: revert dhcp state information on ifdown and restore pre-r19530...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.32 / 850-if_no_generic_time.patch
1 Provide a dummy implementation of clocksource_max_deferment() for such
2 platforms.
3
4 Signed-off-by: Aaro Koskinen <aaro.koskinen <at> iki.fi>
5 ---
6 kernel/time/clocksource.c | 5 +++++
7 1 files changed, 5 insertions(+), 0 deletions(-)
8
9 --- a/kernel/time/clocksource.c
10 +++ b/kernel/time/clocksource.c
11 @@ -502,6 +502,11 @@ static void clocksource_select(void)
12
13 #else /* CONFIG_GENERIC_TIME */
14
15 +static inline u64 clocksource_max_deferment(struct clocksource *cs)
16 +{
17 + return 0;
18 +}
19 +
20 static inline void clocksource_select(void) { }
21
22 #endif