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

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

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-18-b64f0842d512@linutronix.de
arch/x86/entry/vdso/vdso-layout.lds.S
arch/x86/include/asm/vdso/gettimeofday.h