diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2008-05-01 04:34:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 08:03:58 -0700 |
commit | 074b3b87941c99bc0ce35385b5817924b1ed0c23 (patch) | |
tree | aa2d11a2df37d631236a28713873023632f74a91 /usr | |
parent | eea83d896e318bda54be2d2770d2c5d6668d11db (diff) | |
download | linux-3.10-074b3b87941c99bc0ce35385b5817924b1ed0c23.tar.gz linux-3.10-074b3b87941c99bc0ce35385b5817924b1ed0c23.tar.bz2 linux-3.10-074b3b87941c99bc0ce35385b5817924b1ed0c23.zip |
ntp: increase time_freq resolution
This changes time_freq to a 64bit value and makes it static (the only outside
user had no real need to modify it). Intermediate values were already 64bit,
so the change isn't that big, but it saves a little in shifts by replacing
SHIFT_NSEC with TICK_LENGTH_SHIFT. PPM_SCALE is then used to convert between
user space and kernel space representation.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions