Re: [PATCH v4 0/7] vDSO: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery

Vincenzo Frascino <[email protected]>
Newsgroups dev.linux.lists.loongarch,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-arch,org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips
Message-ID <[email protected]>

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 <[email protected]>
> ---
> Changes in v4:
> - Pick up Ack from Mark Zyngier.
> - Fix '-type d' argument to find.
> - Link to v3: https://patch.msgid.link/[email protected]
> 
> Changes in v3:
> - Update *all* commit messages to the latest logic.
> - Link to v2: https://patch.msgid.link/[email protected]
> 
> Changes in v2:
> - Also drop the IS_ENABLED() logic.
> - Link to v1: https://patch.msgid.link/[email protected]
> 
> ---
> 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 <[email protected]>
> 

Thanks for this.

Reviewed-by: Vincenzo Frascino <[email protected]> # for the series.

-- 
Regards,
Vincenzo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.