]> www.infradead.org Git - users/willy/xarray.git/commit
selftests/mm: include linux/mman.h
authorEdward Liaw <edliaw@google.com>
Wed, 5 Jun 2024 22:36:34 +0000 (22:36 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:09 +0000 (19:30 -0700)
commit05f3f75cf13faf4f16bbb86709ea4d482de2573d
tree129134485bfea7e99b10ce2c5443cef90c1542ab
parent5958d35917e1296f46dfc8b8c959732efd6d8d5d
selftests/mm: include linux/mman.h

thuge-gen defines MAP_HUGE_* macros that are provided by linux/mman.h
since 4.15. Removes the macros and includes linux/mman.h instead.

Link: https://lkml.kernel.org/r/20240605223637.1374969-2-edliaw@google.com
Signed-off-by: Edward Liaw <edliaw@google.com>
Reviewed-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/thuge-gen.c