selftests/powerpc: Add transactional syscall test
authorSam bobroff <sam.bobroff@au1.ibm.com>
Fri, 10 Apr 2015 04:16:49 +0000 (14:16 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:20 +0000 (20:49 +1000)
commit7fe924d9d71c96598ed37719c53187b357d6edff
tree36246d88a718a42f0a0a58d6c92b17d55d616c38
parent2b03fc1db59d53da327cf21f77e189b4d0a8aced
selftests/powerpc: Add transactional syscall test

Check that a syscall made during an active transaction will fail with
the correct failure code and that one made during a suspended
transaction will succeed.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/.gitignore
tools/testing/selftests/powerpc/tm/Makefile
tools/testing/selftests/powerpc/tm/tm-syscall-asm.S [new file with mode: 0644]
tools/testing/selftests/powerpc/tm/tm-syscall.c [new file with mode: 0644]