Re: [PATCH] LoongArch: vDSO: Drop custom __arch_vdso_hres_capable()

From: Huacai Chen

Date: Mon Apr 27 2026 - 04:40:37 EST


Applied, thanks.

Huacai

On Wed, Apr 22, 2026 at 3:45 PM Thomas Weißschuh
<thomas.weissschuh@xxxxxxxxxxxxx> wrote:
>
> The custom definition is identical to the generic fallback one.
>
> Remove it.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
> ---
> arch/loongarch/include/asm/vdso/gettimeofday.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/loongarch/include/asm/vdso/gettimeofday.h b/arch/loongarch/include/asm/vdso/gettimeofday.h
> index bae76767c693..18ba403e1ed9 100644
> --- a/arch/loongarch/include/asm/vdso/gettimeofday.h
> +++ b/arch/loongarch/include/asm/vdso/gettimeofday.h
> @@ -85,12 +85,6 @@ static __always_inline u64 __arch_get_hw_counter(s32 clock_mode,
> return count;
> }
>
> -static inline bool loongarch_vdso_hres_capable(void)
> -{
> - return true;
> -}
> -#define __arch_vdso_hres_capable loongarch_vdso_hres_capable
> -
> #endif /* CONFIG_GENERIC_GETTIMEOFDAY */
>
> #endif /* !__ASSEMBLER__ */
>
> ---
> base-commit: 6596a02b207886e9e00bb0161c7fd59fea53c081
> change-id: 20260422-vdso-loongarch-cleanup-d16e07e92422
>
> Best regards,
> --
> Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
>
>