Commit a50491d1 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: selftests: kselftest: Fix build failure with NOLIBC



commit 16767502 upstream.

As Mark explains ksft_min_kernel_version() can't be compiled with nolibc,
it doesn't implement uname().

Fixes: 6d029c25 ("selftests/timers/posix_timers: Reimplement check_timer_distribution()")
Reported-by: default avatarMark Brown <broonie@kernel.org>
Change-Id: Id3f8a8cbbefe0ae0a86c942714f47d9b93118256
Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240412123536.GA32444@redhat.com
Closes: https://lore.kernel.org/all/f0523b3a-ea08-4615-b0fb-5b504a2d39df@sirena.org.uk/


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 63cc4f14)
Signed-off-by: default avatarEdward Liaw <edliaw@google.com>
parent 7ae04ead
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment