mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 03:22:27 -04:00
This moves a function to test if the MMU is in Hash mode under the generic test utilities. Signed-off-by: Sandipan Das <sandipan@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200604125610.649668-3-sandipan@linux.ibm.com
25 lines
605 B
Makefile
25 lines
605 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
noarg:
|
|
$(MAKE) -C ../
|
|
|
|
TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr \
|
|
large_vm_fork_separation bad_accesses
|
|
TEST_GEN_PROGS_EXTENDED := tlbie_test
|
|
TEST_GEN_FILES := tempfile
|
|
|
|
top_srcdir = ../../../../..
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
|
|
|
$(OUTPUT)/prot_sao: ../utils.c
|
|
|
|
$(OUTPUT)/wild_bctr: CFLAGS += -m64
|
|
$(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64
|
|
$(OUTPUT)/bad_accesses: CFLAGS += -m64
|
|
|
|
$(OUTPUT)/tempfile:
|
|
dd if=/dev/zero of=$@ bs=64k count=1
|
|
|
|
$(OUTPUT)/tlbie_test: LDLIBS += -lpthread
|