HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
[linux/fpc-iii.git] / tools / testing / selftests / powerpc / tm / tm-syscall-asm.S
blob431f61ae236814947d21c1c62dfc642bcebb6ca2
1 #include <ppc-asm.h>
2 #include <asm/unistd.h>
4         .text
5 FUNC_START(getppid_tm_active)
6         tbegin.
7         beq 1f
8         li      r0, __NR_getppid
9         sc
10         tend.
11         blr
13         li      r3, -1
14         blr
16 FUNC_START(getppid_tm_suspended)
17         tbegin.
18         beq 1f
19         li      r0, __NR_getppid
20         tsuspend.
21         sc
22         tresume.
23         tend.
24         blr
26         li      r3, -1
27         blr