]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: vDSO: Use vdso/datapage.h to access vDSO data
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 10 Oct 2024 07:01:10 +0000 (09:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 Nov 2024 11:37:33 +0000 (12:37 +0100)
commitdc32cb4ba6f408e05857fbbf0b2965deec1d5c92
tree699c98c2c90009b8b9445b5cf641b898c4322745
parent2bb79470e5c87f211d05f0dd1c7a4291c9b7e1a4
LoongArch: vDSO: Use vdso/datapage.h to access vDSO data

vdso/datapage.h provides symbols and functions to ease the access to
shared vDSO data from both the kernel and the vDSO.
Make use of it to simplify the current code and also prepare for further
changes unifying the vDSO data storage between architectures.

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-8-b64f0842d512@linutronix.de
arch/loongarch/include/asm/vdso/getrandom.h
arch/loongarch/include/asm/vdso/gettimeofday.h
arch/loongarch/include/asm/vdso/vdso.h
arch/loongarch/kernel/asm-offsets.c
arch/loongarch/vdso/vdso.lds.S
arch/loongarch/vdso/vgetcpu.c