linux/tools/testing/selftests/vm
Thierry Reding d0a871141d userfaultfd: selftests: vm: pick up sanitized kernel headers
Add the usr/include subdirectory of the top-level tree to the include
path, and make sure to include headers without relative paths to make
sure the sanitized headers get picked up.  Otherwise the compiler will
not be able to find the linux/compiler.h header included by the non-
sanitized include/uapi/linux/userfaultfd.h.

While at it, make sure to only hardcode the syscall numbers on x86 and
PowerPC if they haven't been properly picked up from the headers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-22 15:09:53 -07:00
..
.gitignore selftests: add .gitignore for vm 2013-07-03 16:08:07 -07:00
Makefile userfaultfd: selftests: vm: pick up sanitized kernel headers 2015-09-22 15:09:53 -07:00
compaction_test.c Test compaction of mlocked memory 2015-05-26 15:58:06 -06:00
hugepage-mmap.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
hugepage-shm.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
map_hugetlb.c mm, selftests: test return value of munmap for MAP_HUGETLB memory 2015-04-15 16:35:19 -07:00
run_vmtests selftests:vm: point to libhugetlbfs for regression testing 2015-09-08 15:35:28 -07:00
thuge-gen.c selftests: add a test program for variable huge page sizes in mmap/shmget 2012-12-11 17:22:25 -08:00
transhuge-stress.c selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
userfaultfd.c userfaultfd: selftests: vm: pick up sanitized kernel headers 2015-09-22 15:09:53 -07:00