selftests/powerpc: Add a test of wild bctr
[linux-2.6-block.git] / tools / testing / selftests / powerpc / mm / Makefile
index 8ebbe96d80a8452575fb234b6eba23a19e2c3a4e..43d68420e363326059e0257f62f8c30e05114ca8 100644 (file)
@@ -2,15 +2,18 @@
 noarg:
        $(MAKE) -C ../
 
-TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors
+TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr
 TEST_GEN_FILES := tempfile
 
+top_srcdir = ../../../../..
 include ../../lib.mk
 
 $(TEST_GEN_PROGS): ../harness.c
 
 $(OUTPUT)/prot_sao: ../utils.c
 
+$(OUTPUT)/wild_bctr: CFLAGS += -m64
+
 $(OUTPUT)/tempfile:
        dd if=/dev/zero of=$@ bs=64k count=1