aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-09-14 18:05:20 -0700
committerMister Oyster <oysterized@gmail.com>2017-12-06 14:42:20 +0100
commitabef759865a90737de6143f272a16303501046d4 (patch)
treef52128bd7d0b17821cc2e3a0d9d946864a40f08e /include
parent3f1bb94f5ba8459705b72074ea35a50bd9bd103e (diff)
clocksource: Fix abs() usage w/ 64bit values
commit 67dfae0cd72fec5cd158b6e5fb1647b7dbe0834c upstream. This patch fixes one cases where abs() was being used with 64-bit nanosecond values, where the result may be capped at 32-bits. This potentially could cause watchdog false negatives on 32-bit systems, so this patch addresses the issue by using abs64(). Change-Id: I0fea076d3af13221cd43082eb94de4bdcf013275 Signed-off-by: John Stultz <john.stultz@linaro.org> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Link: http://lkml.kernel.org/r/1442279124-7309-2-git-send-email-john.stultz@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de> [lizf: Backported to 3.4: adjust context] Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions