timekeeping: Use ktime_get_real_ts64() instead of getnstimeofday64()

The two do the same, this moves all users to the newer name for consistency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: y2038@lists.linaro.org
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Link: https://lkml.kernel.org/r/20180618140811.2998503-3-arnd@arndb.de
This commit is contained in:
Arnd Bergmann
2018-06-18 16:08:01 +02:00
committed by Thomas Gleixner
parent f5a89295e2
commit d30faff900
2 changed files with 4 additions and 4 deletions

View File

@@ -2310,7 +2310,7 @@ int do_adjtimex(struct timex *txc)
return ret;
}
getnstimeofday64(&ts);
ktime_get_real_ts64(&ts);
raw_spin_lock_irqsave(&timekeeper_lock, flags);
write_seqcount_begin(&tk_core.seq);