diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2008-05-01 04:34:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 08:03:58 -0700 |
commit | 9f14f669d18477fe3df071e2fa4da36c00acee8e (patch) | |
tree | 84b5600017902ced77ee0cb9a4bc21a6768d22e5 /kernel/time/tick-sched.c | |
parent | 074b3b87941c99bc0ce35385b5817924b1ed0c23 (diff) | |
download | kernel_samsung_tuna-9f14f669d18477fe3df071e2fa4da36c00acee8e.zip kernel_samsung_tuna-9f14f669d18477fe3df071e2fa4da36c00acee8e.tar.gz kernel_samsung_tuna-9f14f669d18477fe3df071e2fa4da36c00acee8e.tar.bz2 |
ntp: increase time_offset resolution
time_offset is already a 64bit value but its resolution barely used, so this
makes better use of it by replacing SHIFT_UPDATE with TICK_LENGTH_SHIFT.
Side note: the SHIFT_HZ in SHIFT_UPDATE was incorrect for CONFIG_NO_HZ and the
primary reason for changing time_offset to 64bit to avoid the overflow.
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 'kernel/time/tick-sched.c')
0 files changed, 0 insertions, 0 deletions