diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-02-08 04:19:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 09:22:29 -0800 |
commit | cf4fc6cb76e50b01666e28a9f4b2e6fbcbb96d5f (patch) | |
tree | ac1e027b7e759822014bd3a72ababd1fa1052198 /kernel/time/timekeeping.c | |
parent | 0b858e6ff9a38b987a83d22e6f2a2f621c80608d (diff) | |
download | op-kernel-dev-cf4fc6cb76e50b01666e28a9f4b2e6fbcbb96d5f.zip op-kernel-dev-cf4fc6cb76e50b01666e28a9f4b2e6fbcbb96d5f.tar.gz |
timekeeping: rename timekeeping_is_continuous to timekeeping_valid_for_hres
Function timekeeping_is_continuous() no longer checks flag
CLOCK_IS_CONTINUOUS, and it checks CLOCK_SOURCE_VALID_FOR_HRES now. So rename
the function accordingly.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/time/timekeeping.c')
-rw-r--r-- | kernel/time/timekeeping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index cd5dbc4..4f2637e 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -201,9 +201,9 @@ static inline s64 __get_nsec_offset(void) { return 0; } #endif /** - * timekeeping_is_continuous - check to see if timekeeping is free running + * timekeeping_valid_for_hres - Check if timekeeping is suitable for hres */ -int timekeeping_is_continuous(void) +int timekeeping_valid_for_hres(void) { unsigned long seq; int ret; |