diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2015-09-11 23:07:42 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-12 01:21:34 +0300 |
commit | b6d973441675222a4e6c8cad8208c2fe098a0b25 (patch) | |
tree | dc2a7ac4e7ddfb622722caf9b8ab3f5f13abd178 /tools/testing/selftests/membarrier/Makefile | |
parent | 5b25b13ab08f616efd566347d809b4ece54570d1 (diff) | |
download | linux-b6d973441675222a4e6c8cad8208c2fe098a0b25.tar.xz |
selftests: add membarrier syscall test
Add a self test for the membarrier system call.
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Shuah Khan <shuahkh@osg.samsung.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/membarrier/Makefile')
-rw-r--r-- | tools/testing/selftests/membarrier/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/membarrier/Makefile b/tools/testing/selftests/membarrier/Makefile new file mode 100644 index 000000000000..877a50355d7f --- /dev/null +++ b/tools/testing/selftests/membarrier/Makefile @@ -0,0 +1,11 @@ +CFLAGS += -g -I../../../../usr/include/ + +all: + $(CC) $(CFLAGS) membarrier_test.c -o membarrier_test + +TEST_PROGS := membarrier_test + +include ../lib.mk + +clean: + $(RM) membarrier_test |