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 <[email protected]> Cc: Jeff Xu <[email protected]> Signed-off-by: John Hubbard <[email protected]> ---
Lovely Acked-by: David Hildenbrand <[email protected]> -- Cheers, David / dhildenb
