summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vm/Makefile
diff options
context:
space:
mode:
authorAndi Kleen2012-12-12 01:01:36 +0100
committerLinus Torvalds2012-12-12 02:22:25 +0100
commitfcc1f2d5dd3480214ab52e06d081d123019814ed (patch)
tree03e658ebec4942124bc1cde9b132dbecb22a2421 /tools/testing/selftests/vm/Makefile
parentmm: support more pagesizes for MAP_HUGETLB/SHM_HUGETLB (diff)
downloadkernel-qcow2-linux-fcc1f2d5dd3480214ab52e06d081d123019814ed.tar.gz
kernel-qcow2-linux-fcc1f2d5dd3480214ab52e06d081d123019814ed.tar.xz
kernel-qcow2-linux-fcc1f2d5dd3480214ab52e06d081d123019814ed.zip
selftests: add a test program for variable huge page sizes in mmap/shmget
Also remove -Wextra because gcc-4.6 emits lots of irritating signed/unsigned comparison warnings. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/Makefile')
-rw-r--r--tools/testing/selftests/vm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile
index b336b24aa6c0..7300d0702efe 100644
--- a/tools/testing/selftests/vm/Makefile
+++ b/tools/testing/selftests/vm/Makefile
@@ -1,9 +1,9 @@
# Makefile for vm selftests
CC = $(CROSS_COMPILE)gcc
-CFLAGS = -Wall -Wextra
+CFLAGS = -Wall
-all: hugepage-mmap hugepage-shm map_hugetlb
+all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen
%: %.c
$(CC) $(CFLAGS) -o $@ $^