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:Mark Brown <broonie@kernel.org> Change-Id: Id3f8a8cbbefe0ae0a86c942714f47d9b93118256 Signed-off-by:
Oleg Nesterov <oleg@redhat.com> Signed-off-by:
Thomas 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:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 63cc4f14) Signed-off-by:
Edward Liaw <edliaw@google.com>
Loading
Please sign in to comment