x86/vdso: Move VDSO image init to vdso2c generated code
authorBrian Gerst <brgerst@gmail.com>
Tue, 24 Jan 2023 18:40:19 +0000 (13:40 -0500)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Jan 2023 11:33:40 +0000 (12:33 +0100)
commit4c382d723edce1b3c72b55b1b505cf5526a56afc
tree1b69faa1f65d9b5ef37a073b898251d35ccdc5a7
parent2241ab53cbb5cdb08a6b2d4688feb13971058f65
x86/vdso: Move VDSO image init to vdso2c generated code

Generate an init function for each VDSO image, replacing init_vdso() and
sysenter_setup().

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230124184019.26850-1-brgerst@gmail.com
arch/x86/entry/vdso/vdso2c.h
arch/x86/entry/vdso/vdso32-setup.c
arch/x86/entry/vdso/vma.c
arch/x86/include/asm/processor.h
arch/x86/include/asm/vdso.h
arch/x86/kernel/cpu/common.c