]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/timekeeper_internal.h
time: Clean up CLOCK_MONOTONIC_RAW time handling
authorJohn Stultz <john.stultz@linaro.org>
Tue, 23 May 2017 00:20:20 +0000 (17:20 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 21 Jun 2017 05:13:59 +0000 (22:13 -0700)
commitfc6eead7c1e2e5376c25d2795d4539fdacbc0648
treef27d96be2ac36569bf21d60fddb2f397a6ec2e06
parent8e6cec1c7c5afa489687c90be15d6ed82c742975
time: Clean up CLOCK_MONOTONIC_RAW time handling

Now that we fixed the sub-ns handling for CLOCK_MONOTONIC_RAW,
remove the duplicitive tk->raw_time.tv_nsec, which can be
stored in tk->tkr_raw.xtime_nsec (similarly to how its handled
for monotonic time).

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Daniel Mentz <danielmentz@google.com>
Tested-by: Daniel Mentz <danielmentz@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
arch/arm64/kernel/vdso.c
include/linux/timekeeper_internal.h
kernel/time/timekeeping.c