aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/vdso.h
diff options
context:
space:
mode:
authorGravatar Brian Gerst <brgerst@gmail.com> 2023-01-24 13:40:19 -0500
committerGravatar Ingo Molnar <mingo@kernel.org> 2023-01-25 12:33:40 +0100
commit4c382d723edce1b3c72b55b1b505cf5526a56afc (patch)
tree1b69faa1f65d9b5ef37a073b898251d35ccdc5a7 /arch/x86/include/asm/vdso.h
parentLinux 6.2-rc5 (diff)
downloadlinux-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/include/asm/vdso.h')
-rw-r--r--arch/x86/include/asm/vdso.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/vdso.h b/arch/x86/include/asm/vdso.h
index 2963a2f5dbc4..d7f6592b74a9 100644
--- a/arch/x86/include/asm/vdso.h
+++ b/arch/x86/include/asm/vdso.h
@@ -45,7 +45,7 @@ extern const struct vdso_image vdso_image_x32;
extern const struct vdso_image vdso_image_32;
#endif
-extern void __init init_vdso_image(const struct vdso_image *image);
+extern int __init init_vdso_image(const struct vdso_image *image);
extern int map_vdso_once(const struct vdso_image *image, unsigned long addr);