android_kernel_xiaomi_sm8350/kernel/time
john stultz d62ac21aa0 [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>
2007-03-27 09:05:15 -07:00
..
clockevents.c [PATCH] clockevents: remove bad designed sysfs support for now 2007-03-26 14:07:23 -07:00
clocksource.c [PATCH] clocksource: Fix thinko in watchdog selection 2007-03-25 14:57:34 -07:00
jiffies.c [PATCH] clocksource: replace is_continuous by a flag field 2007-02-16 08:13:57 -08:00
Kconfig [PATCH] hrtimers: add high resolution timer support 2007-02-16 08:13:59 -08:00
Makefile [PATCH] Add debugging feature /proc/timer_list 2007-02-16 08:13:59 -08:00
ntp.c [PATCH] ntp: avoid time_offset overflows 2007-03-27 09:05:15 -07:00
tick-broadcast.c [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-common.c [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-internal.h [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-oneshot.c [PATCH] clockevents: Fix suspend/resume to disk hangs 2007-03-16 19:35:25 -07:00
tick-sched.c [TIME] tick-sched: Add missing asm/irq_regs.h include. 2007-02-26 11:13:49 -08:00
timer_list.c [PATCH] time: fix formatting in /proc/timer_list 2007-03-23 11:01:21 -07:00
timer_stats.c [PATCH] Add debugging feature /proc/timer_stat 2007-02-16 08:13:59 -08:00