Hongzhan Chen via Xenomai <xenomai@xenomai.org> writes:
> Currently, GENERIC_CLOCKSOURCE_VDSO only supported well on ARM. > To fix build issue like following when make allyesconfig on x86 platform. > > arch/x86/entry/vdso/../../../../lib/vdso/gettimeofday.c:145:14: > error: implicit declaration of function clock_open_device > > Signed-off-by: Hongzhan Chen <hongzhan.c...@intel.com> > --- > drivers/clocksource/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > index 5138cd593373..1e8c1cd086d5 100644 > --- a/drivers/clocksource/Kconfig > +++ b/drivers/clocksource/Kconfig > @@ -644,7 +644,7 @@ config CLKSRC_ST_LPC > bool "Low power clocksource found in the LPC" if COMPILE_TEST > select TIMER_OF if OF > depends on HAS_IOMEM > - select GENERIC_CLOCKSOURCE_VDSO > + select GENERIC_CLOCKSOURCE_VDSO if ARM > help > Enable this option to use the Low Power controller timer > as clocksource. Starting from v5.17, Dovetail has generic support for clocksource access via the vDSO for CONFIG_ARM64 too. Which kernel release is this patch based on? -- Philippe.