summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/vdso/vdso32-setup.c
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2023-01-24 19:40:19 +0100
committerIngo Molnar <mingo@kernel.org>2023-01-25 12:33:40 +0100
commit4c382d723edce1b3c72b55b1b505cf5526a56afc (patch)
tree1b69faa1f65d9b5ef37a073b898251d35ccdc5a7 /arch/x86/entry/vdso/vdso32-setup.c
parentLinux 6.2-rc5 (diff)
downloadlinux-4c382d723edce1b3c72b55b1b505cf5526a56afc.tar.xz
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.c9
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>