[PATCH 0/9] vdso: Directly include the generic vDSO implementations

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Dec 3 23:30:27 PST 2026


The inclusion of the generic vDSO implementation through compiler
arguments is complicated and non-obvious.

Directly include the .c files instead, like it is done on x86 already.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (9):
      csky/vdso: Remove all gettimeofday() remnants
      arm64/vdso: Directly include the generic vDSO implementations
      ARM: vdso:  Directly include the generic vDSO implementations
      LoongArch: vDSO: Directly include the generic vDSO implementations
      powerpc/vdso: Directly include the generic vDSO implementations
      MIPS: VDSO: Directly include the generic vDSO implementations
      riscv: vdso: Directly include the generic vDSO implementations
      s390/vdso: Directly include the generic vDSO implementations
      vdso: Drop the old inclusion machinery

 arch/arm/vdso/Makefile                   |  4 ----
 arch/arm/vdso/vgettimeofday.c            |  2 ++
 arch/arm64/kernel/vdso/Makefile          |  8 --------
 arch/arm64/kernel/vdso/vgetrandom.c      |  2 ++
 arch/arm64/kernel/vdso/vgettimeofday.c   |  2 ++
 arch/arm64/kernel/vdso32/Makefile        |  4 ----
 arch/arm64/kernel/vdso32/vgettimeofday.c |  2 ++
 arch/csky/kernel/vdso/Makefile           |  9 +--------
 arch/loongarch/vdso/Makefile             |  8 --------
 arch/loongarch/vdso/vgetrandom.c         |  2 ++
 arch/loongarch/vdso/vgettimeofday.c      |  2 ++
 arch/mips/vdso/Makefile                  | 10 +++-------
 arch/mips/vdso/vgettimeofday.c           |  2 ++
 arch/powerpc/kernel/vdso/Makefile        | 10 +---------
 arch/powerpc/kernel/vdso/vgetrandom.c    |  2 ++
 arch/powerpc/kernel/vdso/vgettimeofday.c |  2 ++
 arch/riscv/kernel/vdso/Makefile          | 10 ++--------
 arch/riscv/kernel/vdso/getrandom.c       |  2 ++
 arch/riscv/kernel/vdso/vgettimeofday.c   |  2 ++
 arch/s390/kernel/vdso/Makefile           |  4 ----
 arch/s390/kernel/vdso/vgetrandom.c       |  2 ++
 lib/vdso/Makefile.include                |  6 ------
 22 files changed, 31 insertions(+), 66 deletions(-)
---
base-commit: c18138e0f879f98b30de2e6e1ffa916d28630c0a
change-id: 20261202-vdso-generic-include-6330a2b3ee12

Best regards,
--  
Thomas Weißschuh <thomas.weissschuh at linutronix.de>




More information about the linux-arm-kernel mailing list