On 14.06.24 04:30, John Hubbard wrote:
This continues the work on getting the selftests to build without requiring people to first run "make headers" [1].
Now that the system call numbers are in the correct, checked-in locations in the kernel tree (./tools/include/uapi/asm/unistd*.h), make sure that the mm selftests include that file (indirectly).
Doing so provides guaranteed definitions at build time, so remove all of the checks for "ifdef __NR_xxx" in the mm selftests, because they will always be true (defined).
[1] commit e076eaca5906 ("selftests: break the dependency upon local header files")
Cc: David Hildenbrand david@redhat.com Cc: Jeff Xu jeffxu@chromium.org Signed-off-by: John Hubbard jhubbard@nvidia.com
Lovely
Acked-by: David Hildenbrand david@redhat.com