lkml.org 
[lkml]   [2026]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip: timers/vdso] vdso/gettimeofday: Add a helper to test if a clock is namespaced
On Wed, Mar 11, 2026 at 11:47:26AM +0100, Thomas Weißschuh wrote:
> > +static __always_inline bool vdso_is_timens_clock(const struct vdso_clock *vc)
> > +{
> > + return IS_ENABLED(CONFIG_TIME_NS) && vc->clock_mode == VDSO_CLOCKMODE_TIMENS;
> > +}
>
> Welp, I never seem to have tested this together with my own vDSO header cleanup
> series. This fails to build because VDSO_CLOCKMODE_TIMENS is not visible.
> There should be an include of <vdso/clocksource.h> above.
>
> Could you fix this up, or drop the series so I can resubmit it?

Lemme fix that up. I just saw it here too.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2026-03-11 14:52    [W:0.091 / U:2.339 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog