[LTP] [PATCH] define TST_MAX_CLOCKS to account MAX_AUX_CLOCKS also

Petr Vorel pvorel@suse.cz
Tue Aug 19 09:29:34 CEST 2025


Hi Avinesh,

Thanks for fixing this! Merged!

...
>  /* MAX_CLOCKS is the maximum number of clock sources supported by kernel */
>  #define MAX_CLOCKS 16

> +#define MAX_AUX_CLOCKS 8
> +
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0)

FYI it still fails on my openSUSE Tumbleweed 6.17-rc2 is due linux-glibc-devel
package which has 6.16 even I have newer kernel from KOTD (the known problem
with kernel headers from glibc vs. kernel mismatch). But once 6.17 is out it will work.


Kind regards,
Petr


More information about the ltp mailing list