]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/vdso: Access rng vdso data without vvar.h
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 10 Oct 2024 07:01:18 +0000 (09:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 Nov 2024 11:37:34 +0000 (12:37 +0100)
commitc3a190d425916e84bbda65873f9fc27ce4b82893
tree2ba295d93380b5117635d55ef834a297131775bb
parent59b7761638a3f299750c04f431f2b4e1bea9465c
x86/vdso: Access rng vdso data without vvar.h

The vdso_rng_data is at a well-known offset in the vvar page.
Make use of this invariant to remove the usage of vvar.h.

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