linux/tools/testing/selftests/vm
Harish 7cf22a1c88 selftests/vm: fix building protection keys test
Commit d8cbe8bfa7 ("tools/testing/selftests/vm: fix build error") tried
to include a ARCH check for powerpc, however ARCH is not defined in the
Makefile before including lib.mk.  This makes test building to skip on
both x86 and powerpc.

Fix the arch check by replacing it using machine type as it is already
defined and used in the test.

Link: https://lkml.kernel.org/r/20201215100402.257376-1-harish@linux.ibm.com
Fixes: d8cbe8bfa7 ("tools/testing/selftests/vm: fix build error")
Signed-off-by: Harish <harish@linux.ibm.com>
Reviewed-by: Sandipan Das <sandipan@linux.ibm.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-29 15:36:49 -08:00
..
.gitignore kselftests: vm: add mremap tests 2020-12-15 12:13:40 -08:00
Makefile selftests/vm: fix building protection keys test 2020-12-29 15:36:49 -08:00
charge_reserved_hugetlb.sh
check_config.sh selftests/vm: hmm-tests: remove the libhugetlbfs dependency 2020-12-15 12:13:38 -08:00
compaction_test.c selftests/vm: 8x compaction_test speedup 2020-10-13 18:38:34 -07:00
config mm/gup_benchmark: rename to mm/gup_test 2020-12-15 12:13:38 -08:00
gup_test.c selftests/vm: gup_test: introduce the dump_pages() sub-test 2020-12-15 12:13:38 -08:00
hmm-tests.c selftests/vm: hmm-tests: remove the libhugetlbfs dependency 2020-12-15 12:13:38 -08:00
hugepage-mmap.c
hugepage-shm.c
hugetlb_reparenting_test.sh
khugepaged.c khugepaged: selftests: fix timeout condition in wait_for_scan() 2020-06-10 19:14:17 -07:00
map_fixed_noreplace.c
map_hugetlb.c selftests/vm: fix display of page size in map_hugetlb 2020-09-19 13:13:39 -07:00
map_populate.c
mlock-random-test.c
mlock2-tests.c
mlock2.h
mremap_dontunmap.c tools/testing/selftests/vm: remove duplicate headers 2020-06-04 19:06:27 -07:00
mremap_test.c kselftests: vm: add mremap tests 2020-12-15 12:13:40 -08:00
on-fault-limit.c
pkey-helpers.h selftests/vm/pkeys: introduce a sub-page allocator 2020-06-04 19:06:27 -07:00
pkey-powerpc.h selftests: vm: pkeys: use the correct page size on powerpc 2020-06-04 19:06:27 -07:00
pkey-x86.h selftests/vm/pkeys: introduce a sub-page allocator 2020-06-04 19:06:27 -07:00
protection_keys.c selftests/vm/keys: fix a broken reference at protection_keys.c 2020-06-26 10:01:12 -06:00
run_vmtests kselftests: vm: add mremap tests 2020-12-15 12:13:40 -08:00
test_hmm.sh
test_vmalloc.sh
thuge-gen.c
transhuge-stress.c
userfaultfd.c linux-kselftest-next-5.11-rc1 2020-12-16 00:17:58 -08:00
va_128TBswitch.c
virtual_address_range.c
write_hugetlb_memory.sh
write_to_hugetlbfs.c