b6d9734416
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>
12 lines
181 B
Makefile
12 lines
181 B
Makefile
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
|