diff options
author | Brian Gerst <brgerst@gmail.com> | 2023-01-24 21:40:19 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-25 14:33:40 +0300 |
commit | 4c382d723edce1b3c72b55b1b505cf5526a56afc (patch) | |
tree | 1b69faa1f65d9b5ef37a073b898251d35ccdc5a7 /arch/x86/include/asm/vdso.h | |
parent | 2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff) | |
download | linux-4c382d723edce1b3c72b55b1b505cf5526a56afc.tar.xz |
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.h | 2 |
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); |