]> www.infradead.org Git - users/dwmw2/linux.git/commit
timekeeping: Rework timekeeping_init() to use shadow_timekeeper
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Wed, 9 Oct 2024 08:29:12 +0000 (10:29 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 25 Oct 2024 17:49:15 +0000 (19:49 +0200)
commit2cab490b41b28a4239baf810ca1bb1c9d6d017ca
treee9e0d9cfa202e52f7d7e535ae4257cc6111a6d63
parent351619fc99883d22ba1018b5914ae717bfef4221
timekeeping: Rework timekeeping_init() to use shadow_timekeeper

For timekeeping_init() the sequence count write held time is not relevant
and it could keep working on the real timekeeper, but there is no reason to
make it different from other timekeeper updates.

Convert it to operate on the shadow timekeeper.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20241009-devel-anna-maria-b4-timers-ptp-timekeeping-v2-19-554456a44a15@linutronix.de
kernel/time/timekeeping.c