diff options
author | john stultz <johnstul@us.ibm.com> | 2006-06-26 09:25:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 18:58:20 +0200 |
commit | cf3c769b4b0dd1146da84d5cf045dcfe53bd0f13 (patch) | |
tree | caeb91eff6538ed5910e673a40a9f2bd9a022afa /kernel/time.c | |
parent | [PATCH] Time: Use clocksource abstraction for NTP adjustments (diff) | |
download | linux-cf3c769b4b0dd1146da84d5cf045dcfe53bd0f13.tar.xz linux-cf3c769b4b0dd1146da84d5cf045dcfe53bd0f13.zip |
[PATCH] Time: Introduce arch generic time accessors
Introduces clocksource switching code and the arch generic time accessor
functions that use the clocksource infrastructure.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/time.c')
-rw-r--r-- | kernel/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time.c b/kernel/time.c index b00ddc71cedb..5bd489747643 100644 --- a/kernel/time.c +++ b/kernel/time.c @@ -523,6 +523,7 @@ EXPORT_SYMBOL(do_gettimeofday); #else +#ifndef CONFIG_GENERIC_TIME /* * Simulate gettimeofday using do_gettimeofday which only allows a timeval * and therefore only yields usec accuracy @@ -537,6 +538,7 @@ void getnstimeofday(struct timespec *tv) } EXPORT_SYMBOL_GPL(getnstimeofday); #endif +#endif /* Converts Gregorian date to seconds since 1970-01-01 00:00:00. * Assumes input in normal date format, i.e. 1980-12-31 23:59:59 |