[LTP] [PATCH v2 1/2] Update lapi/futex.h fallback

Cyril Hrubis chrubis@suse.cz
Tue Feb 1 16:41:27 CET 2022


Hi!
> +struct futex_test_variants futex_variants[] = {
> +#if (__NR_futex != __LTP__NR_INVALID_SYSCALL)
> +	{ .fntype = FUTEX_FN_FUTEX, .desc = "syscall with old kernel spec" },
> +#endif
> +
> +#if (__NR_futex_time64 != __LTP__NR_INVALID_SYSCALL)
> +	{ .fntype = FUTEX_FN_FUTEX64, .desc = "syscall time64 with kernel spec" },
> +#endif
> +};

I guess that there should be a followup patch that makse use of this in
all the futex tests, right?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list