diff options
author | john stultz <johnstul@us.ibm.com> | 2006-06-26 00:25:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:20 -0700 |
commit | 260a42309b31cbc54eb4b6b85649e412bcad053f (patch) | |
tree | 51efc7bb51075b0d25d0e8465d3c056e6a57fe16 /include/asm-x86_64/timex.h | |
parent | ad596171ed635c51a9eef829187af100cbf8dcf7 (diff) |
[PATCH] Time: Let user request precision from current_tick_length()
Change the current_tick_length() function so it takes an argument which
specifies how much precision to return in shifted nanoseconds. This provides
a simple way to convert between NTPs internal nanoseconds shifted by
(SHIFT_SCALE - 10) to other shifted nanosecond units that are used by the
clocksource abstraction.
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 'include/asm-x86_64/timex.h')
0 files changed, 0 insertions, 0 deletions