[LTP] [PATCH 00/31] Remove UCLINUX (nommu support) from LTP legacy C API

Cyril Hrubis chrubis@suse.cz
Fri May 3 17:39:37 CEST 2024


Hi!
Pushed with a one patch on the top that removed the configure check for
UCLINUX:

Author: Cyril Hrubis <chrubis@suse.cz>
Date:   Fri May 3 17:23:44 2024 +0200

    m4: Remove now unused ltp-nommu-linux.m4

    Signed-off-by: Cyril Hrubis <chrubis@suse.cz>

diff --git a/configure.ac b/configure.ac
index 15a5847fa..638a64bc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,7 +385,6 @@ LTP_CHECK_KERNEL_DEVEL
 LTP_CHECK_KEYUTILS_SUPPORT
 LTP_CHECK_LIBMNL
 LTP_CHECK_LINUXRANDOM
-LTP_CHECK_NOMMU_LINUX
 LTP_CHECK_SELINUX
 LTP_CHECK_SYNC_ADD_AND_FETCH
 LTP_CHECK_SYSCALL_EVENTFD
diff --git a/m4/ltp-nommu-linux.m4 b/m4/ltp-nommu-linux.m4
deleted file mode 100644
index 7471ddd06..000000000
--- a/m4/ltp-nommu-linux.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-dnl SPDX-License-Identifier: GPL-2.0-or-later
-dnl Copyright (c) Linux Test Project, 2010
-dnl Author: Mike Frysinger <vapier@gentoo.org>
-
-AC_DEFUN([LTP_CHECK_NOMMU_LINUX],
-[
-       AC_CHECK_FUNCS([fork daemon vfork])
-       UCLINUX=0
-       if test "x$ac_cv_func_fork" = "xno" ; then
-               UCLINUX=1
-               AC_DEFINE([UCLINUX], 1, [Target is running Linux w/out an MMU])
-       fi
-       AC_SUBST(UCLINUX)
-])


-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list