x86/vdso: Access timens vdso data without vvar.h
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 10 Oct 2024 07:01:17 +0000 (09:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 Nov 2024 11:37:34 +0000 (12:37 +0100)
commit59b7761638a3f299750c04f431f2b4e1bea9465c
tree7a794f8b1a7331f8290ba14fddf98a70a62809c5
parent7175126a6d45fea82cb25f4d35b35a0999fd6dae
x86/vdso: Access timens vdso data without vvar.h

The vdso_data is at the start of the timens page.
Make use of this invariant to remove the usage of vvar.h.
This also matches the logic for the pvclock and hvclock pages.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-15-b64f0842d512@linutronix.de
arch/x86/entry/vdso/vdso-layout.lds.S
arch/x86/include/asm/vdso/getrandom.h
arch/x86/include/asm/vdso/gettimeofday.h