]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - tools/testing/selftests/powerpc/tm/tm-syscall-asm.S
selftests/powerpc: Add transactional syscall test
[mirror_ubuntu-focal-kernel.git] / tools / testing / selftests / powerpc / tm / tm-syscall-asm.S
CommitLineData
7fe924d9
S
1#include <ppc-asm.h>
2#include <asm/unistd.h>
3
4 .text
5FUNC_START(getppid_tm_active)
6 tbegin.
7 beq 1f
8 li r0, __NR_getppid
9 sc
10 tend.
11 blr
121:
13 li r3, -1
14 blr
15
16FUNC_START(getppid_tm_suspended)
17 tbegin.
18 beq 1f
19 li r0, __NR_getppid
20 tsuspend.
21 sc
22 tresume.
23 tend.
24 blr
251:
26 li r3, -1
27 blr