Loading tools/testing/selftests/powerpc/tm/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -2,9 +2,9 @@ TEST_PROGS := tm-resched-dscr tm-syscall all: $(TEST_PROGS) $(TEST_PROGS): ../harness.c $(TEST_PROGS): ../harness.c ../utils.c tm-syscall: tm-syscall-asm.S ../utils.c tm-syscall: tm-syscall-asm.S tm-syscall: CFLAGS += -mhtm -I../../../../../usr/include include ../../lib.mk Loading tools/testing/selftests/powerpc/tm/tm-resched-dscr.c +3 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ #include <asm/tm.h> #include "utils.h" #include "tm.h" #define TBEGIN ".long 0x7C00051D ;" #define TEND ".long 0x7C00055D ;" Loading @@ -42,6 +43,8 @@ int test_body(void) { uint64_t rv, dscr1 = 1, dscr2, texasr; SKIP_IF(!have_htm()); printf("Check DSCR TM context switch: "); fflush(stdout); for (;;) { Loading Loading
tools/testing/selftests/powerpc/tm/Makefile +2 −2 Original line number Diff line number Diff line Loading @@ -2,9 +2,9 @@ TEST_PROGS := tm-resched-dscr tm-syscall all: $(TEST_PROGS) $(TEST_PROGS): ../harness.c $(TEST_PROGS): ../harness.c ../utils.c tm-syscall: tm-syscall-asm.S ../utils.c tm-syscall: tm-syscall-asm.S tm-syscall: CFLAGS += -mhtm -I../../../../../usr/include include ../../lib.mk Loading
tools/testing/selftests/powerpc/tm/tm-resched-dscr.c +3 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ #include <asm/tm.h> #include "utils.h" #include "tm.h" #define TBEGIN ".long 0x7C00051D ;" #define TEND ".long 0x7C00055D ;" Loading @@ -42,6 +43,8 @@ int test_body(void) { uint64_t rv, dscr1 = 1, dscr2, texasr; SKIP_IF(!have_htm()); printf("Check DSCR TM context switch: "); fflush(stdout); for (;;) { Loading