[PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
Vincenzo Frascino
vincenzo.frascino at arm.com
Thu Aug 13 03:26:15 PDT 2026
On 24/07/2026 14:36, Thomas Weißschuh wrote:
> Always provide the definitions of the VDSO_CLOCKMODE_* constants and
> remove some ifdeffery from the clocksource drivers.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> ---
> Changes in v4:
> - Pick up Ack from Mark Zyngier.
> - Fix '-type d' argument to find.
> - Link to v3: https://patch.msgid.link/20260722-vdso-arch-clockmodes-v3-0-4c5753191cc4@linutronix.de
>
> Changes in v3:
> - Update *all* commit messages to the latest logic.
> - Link to v2: https://patch.msgid.link/20260717-vdso-arch-clockmodes-v2-0-756f5a5d1467@linutronix.de
>
> Changes in v2:
> - Also drop the IS_ENABLED() logic.
> - Link to v1: https://patch.msgid.link/20260709-vdso-arch-clockmodes-v1-0-3fd780bbf851@linutronix.de
>
> ---
> Thomas Weißschuh (7):
> kbuild: support generated asm-headers in subdirectories
> vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
> MIPS: csrc-r4k: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
> clocksource/drivers/mips-gic-timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
> clocksource/drivers/arm_arch_timer: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
> clocksource/drivers/timer-riscv: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
> LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
>
> arch/loongarch/kernel/time.c | 2 --
> arch/mips/kernel/csrc-r4k.c | 2 --
> drivers/clocksource/arm_arch_timer.c | 4 ----
> drivers/clocksource/mips-gic-timer.c | 2 --
> drivers/clocksource/timer-riscv.c | 4 ----
> include/asm-generic/Kbuild | 1 +
> include/asm-generic/vdso/clocksource.h | 0
> include/vdso/clocksource.h | 4 +---
> scripts/Makefile.asm-headers | 11 +++++------
> 9 files changed, 7 insertions(+), 23 deletions(-)
> ---
> base-commit: ecacc9c8d3ed0f63065f4a1e94bfd8bf65a3ffaf
> change-id: 20260605-vdso-arch-clockmodes-bfcaf9a2c848
>
> Best regards,
> --
> Thomas Weißschuh <thomas.weissschuh at linutronix.de>
>
Thanks for this.
Reviewed-by: Vincenzo Frascino <vincenzo.frascino at arm.com> # for the series.
--
Regards,
Vincenzo
More information about the linux-arm-kernel
mailing list