selftests/powerpc: Move TM helpers into tm.h
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Nov 2015 02:05:40 +0000 (13:05 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Dec 2015 09:41:48 +0000 (20:41 +1100)
commit34dc8b279dc5dd3ce863298056989bdd7f4979c8
tree28a1f92da950ab408f7cc9eb30d55447fcb23789
parentede8ef3f824ea6e853a5e4b27467f583cdaa314e
selftests/powerpc: Move TM helpers into tm.h

Move have_htm_nosc() into a new tm.h, and add a new helper, have_htm()
which we'll use in the next patch.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/tm-syscall.c
tools/testing/selftests/powerpc/tm/tm.h [new file with mode: 0644]