Re: [PATCH 12/17] powerpc/vdso: Switch to generic storage implementation

2024-12-18 Thread Christophe Leroy
  #ifdef CONFIG_TIME_NS -static __always_inline -const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) +static __always_inline const struct vdso_time_data *__ppc_get_vdso_u_timens_data(void)   { -    return (void *)vd + (1U << CONFIG_PAGE_SHIFT); +    struct vdso_t

Re: [PATCH 12/17] powerpc/vdso: Switch to generic storage implementation

2024-12-18 Thread Thomas Weißschuh
Hi Christophe, On Wed, Dec 18, 2024 at 08:20:51AM +0100, Christophe Leroy wrote: > Le 16/12/2024 à 15:10, Thomas Weißschuh a écrit : [..] > > #ifdef CONFIG_TIME_NS > > -static __always_inline > > -const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data > > *vd) > > +static

Re: [PATCH 12/17] powerpc/vdso: Switch to generic storage implementation

2024-12-17 Thread Christophe Leroy
Le 16/12/2024 à 15:10, Thomas Weißschuh a écrit : The generic storage implementation provides the same features as the custom one. However it can be shared between architectures, making maintenance easier. Co-developed-by: Nam Cao Signed-off-by: Nam Cao Signed-off-by: Thomas Weißschuh ---

[PATCH 12/17] powerpc/vdso: Switch to generic storage implementation

2024-12-16 Thread Thomas Weißschuh
The generic storage implementation provides the same features as the custom one. However it can be shared between architectures, making maintenance easier. Co-developed-by: Nam Cao Signed-off-by: Nam Cao Signed-off-by: Thomas Weißschuh --- arch/powerpc/Kconfig | 2 +