diff options
author | 2023-06-12 14:53:47 +0500 | |
---|---|---|
committer | 2023-06-19 16:19:25 -0700 | |
commit | 0183d777c29ab12c2b0c19f3d4f5c6df016815fb (patch) | |
tree | ee1484b23d7d06785b06a12990aa0ca3e4b49972 /tools/testing/selftests/mm/mlock-random-test.c | |
parent | selftests: mm: remove wrong kernel header inclusion (diff) | |
download | linux-0183d777c29ab12c2b0c19f3d4f5c6df016815fb.tar.gz linux-0183d777c29ab12c2b0c19f3d4f5c6df016815fb.tar.bz2 linux-0183d777c29ab12c2b0c19f3d4f5c6df016815fb.zip |
selftests: mm: remove duplicate unneeded defines
Remove all defines which aren't needed after correctly including the
kernel header files.
Link: https://lkml.kernel.org/r/20230612095347.996335-2-usama.anjum@collabora.com
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stefan Roesch <shr@devkernel.io>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/mm/mlock-random-test.c')
-rw-r--r-- | tools/testing/selftests/mm/mlock-random-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/mm/mlock-random-test.c b/tools/testing/selftests/mm/mlock-random-test.c index 782ea94dee2f..1fba77df7f62 100644 --- a/tools/testing/selftests/mm/mlock-random-test.c +++ b/tools/testing/selftests/mm/mlock-random-test.c @@ -7,6 +7,7 @@ #include <sys/resource.h> #include <sys/capability.h> #include <sys/mman.h> +#include <linux/mman.h> #include <fcntl.h> #include <string.h> #include <sys/ipc.h> |