On Mon, Dec 05, 2022 at 01:46:29AM +0800, Jisheng Zhang wrote: > Make it possible to use alternatives in the vDSO, so that better > implementations can be used if possible. > > Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx> > --- > arch/riscv/include/asm/vdso.h | 4 ++++ > arch/riscv/kernel/alternative.c | 25 +++++++++++++++++++++++++ > arch/riscv/kernel/vdso.c | 5 ----- > arch/riscv/kernel/vdso/vdso.lds.S | 7 +++++++ > 4 files changed, 36 insertions(+), 5 deletions(-) > Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>