]> git.ipfire.org Git - thirdparty/linux.git/commit
vdso/vsyscall: Split up __arch_update_vsyscall() into __arch_update_vdso_clock()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 1 Jul 2025 08:57:57 +0000 (10:57 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Jul 2025 09:52:34 +0000 (11:52 +0200)
commit76164ca0d113e6a9f3033f948c739586fc606ed1
tree71c3240cd2fa24782ef5f2e91ab33bd21779cdef
parent6fedaf682a5e1866efdaddc70ff0ada329825d53
vdso/vsyscall: Split up __arch_update_vsyscall() into __arch_update_vdso_clock()

The upcoming auxiliary clocks need this hook, too.
To separate the architecture hooks from the timekeeper internals, refactor
the hook to only operate on a single vDSO clock.

While at it, use a more robust #define for the hook override.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250701-vdso-auxclock-v1-3-df7d9f87b9b8@linutronix.de
arch/arm64/include/asm/vdso/vsyscall.h
include/asm-generic/vdso/vsyscall.h
kernel/time/vsyscall.c