aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeper_internal.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-06-11 15:54:54 -0700
committerThomas Gleixner <tglx@linutronix.de>2015-06-12 11:15:49 +0200
commit90bf361ceae28dee50a584c3dd4c1a96178d982c (patch)
tree159e22aa66e55580668b380678dc1966225be2cd /include/linux/timekeeper_internal.h
parenttime: Move clock_was_set_seq update before updating shadow-timekeeper (diff)
downloadlinux-dev-90bf361ceae28dee50a584c3dd4c1a96178d982c.tar.xz
linux-dev-90bf361ceae28dee50a584c3dd4c1a96178d982c.zip
ntp: Introduce and use SECS_PER_DAY macro instead of 86400
Currently the leapsecond logic uses what looks like magic values. Improve this by defining SECS_PER_DAY and using that macro to make the logic more clear. Signed-off-by: John Stultz <john.stultz@linaro.org> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Daniel Bristot de Oliveira <bristot@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Jan Kara <jack@suse.cz> Cc: Jiri Bohac <jbohac@suse.cz> Cc: Ingo Molnar <mingo@kernel.org> Link: http://lkml.kernel.org/r/1434063297-28657-3-git-send-email-john.stultz@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/timekeeper_internal.h')
0 files changed, 0 insertions, 0 deletions