diff options
author | john stultz <johnstul@us.ibm.com> | 2007-03-26 21:32:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-27 09:05:15 -0700 |
commit | d62ac21aa075c8ddf3d02a98d28afce635e77e8e (patch) | |
tree | d315a4aaa57b219c151a5e2d9ae0e557517a0bd2 /include/asm-x86_64/div64.h | |
parent | b92c4f922b2e8c70f8790d42e45bb9401c57be63 (diff) | |
download | linux-d62ac21aa075c8ddf3d02a98d28afce635e77e8e.tar.gz linux-d62ac21aa075c8ddf3d02a98d28afce635e77e8e.tar.bz2 linux-d62ac21aa075c8ddf3d02a98d28afce635e77e8e.zip |
[PATCH] ntp: avoid time_offset overflows
I've been seeing some odd NTP behavior recently on a few boxes and
finally narrowed it down to time_offset overflowing when converted to
SHIFT_UPDATE units (which was a side effect from my HZfreeNTP patch).
This patch converts time_offset from a long to a s64 which resolves the
issue.
[tglx@linutronix.de: signedness fixes]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
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 'include/asm-x86_64/div64.h')
0 files changed, 0 insertions, 0 deletions