summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/vdso.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2023-01-29 01:28:53 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2023-01-31 23:29:42 -0800
commitcabfd146b371462ed480a968f98eb0c2c80e3c8a (patch)
tree38df344a6023b4f31d3b03877eb0b550b7d0a820 /arch/riscv/kernel/vdso.c
parent8d23e94a443388e81c42ea7e476a5d79c1c795c9 (diff)
riscv: alternative: patch alternatives in the vDSO
Make it possible to use alternatives in the vDSO, so that better implementations can be used if possible. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Reviewed-by: Guo Ren <guoren@kernel.org> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20230128172856.3814-11-jszhang@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/vdso.c')
-rw-r--r--arch/riscv/kernel/vdso.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/riscv/kernel/vdso.c b/arch/riscv/kernel/vdso.c
index e410275918ac..4e631c098f4d 100644
--- a/arch/riscv/kernel/vdso.c
+++ b/arch/riscv/kernel/vdso.c
@@ -22,11 +22,6 @@ struct vdso_data {
};
#endif
-extern char vdso_start[], vdso_end[];
-#ifdef CONFIG_COMPAT
-extern char compat_vdso_start[], compat_vdso_end[];
-#endif
-
enum vvar_pages {
VVAR_DATA_PAGE_OFFSET,
VVAR_TIMENS_PAGE_OFFSET,