diff options
| author | Brian Gerst <brgerst@gmail.com> | 2023-01-24 13:40:19 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2023-01-25 12:33:40 +0100 |
| commit | 4c382d723edce1b3c72b55b1b505cf5526a56afc (patch) | |
| tree | 1b69faa1f65d9b5ef37a073b898251d35ccdc5a7 /arch/x86/entry/vdso/vdso32-setup.c | |
| parent | 2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff) | |
| download | linux-4c382d723edce1b3c72b55b1b505cf5526a56afc.tar.gz linux-4c382d723edce1b3c72b55b1b505cf5526a56afc.tar.bz2 linux-4c382d723edce1b3c72b55b1b505cf5526a56afc.zip | |
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
Diffstat (limited to 'arch/x86/entry/vdso/vdso32-setup.c')
| -rw-r--r-- | arch/x86/entry/vdso/vdso32-setup.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/entry/vdso/vdso32-setup.c b/arch/x86/entry/vdso/vdso32-setup.c index 43842fade8fa..3b300a773c7e 100644 --- a/arch/x86/entry/vdso/vdso32-setup.c +++ b/arch/x86/entry/vdso/vdso32-setup.c @@ -51,17 +51,8 @@ __setup("vdso32=", vdso32_setup); __setup_param("vdso=", vdso_setup, vdso32_setup, 0); #endif -int __init sysenter_setup(void) -{ - init_vdso_image(&vdso_image_32); - - return 0; -} - #ifdef CONFIG_X86_64 -subsys_initcall(sysenter_setup); - #ifdef CONFIG_SYSCTL /* Register vsyscall32 into the ABI table */ #include <linux/sysctl.h> |
