Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
| 2 | |
| 3 | #include <private/bionic_asm.h> |
| 4 | |
| 5 | ENTRY(prlimit64) |
Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 6 | mov x8, __NR_prlimit64 |
| 7 | svc #0 |
| 8 | |
Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 9 | cmn x0, #(MAX_ERRNO + 1) |
| 10 | cneg x0, x0, hi |
Elliott Hughes | 011e111 | 2014-09-08 15:25:01 -0700 | [diff] [blame] | 11 | b.hi __set_errno_internal |
Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 12 | |
| 13 | ret |
| 14 | END(prlimit64) |
| 15 | |
Elliott Hughes | 986f906 | 2014-02-18 16:42:36 -0800 | [diff] [blame] | 16 | .globl prlimit |
| 17 | .equ prlimit, prlimit64 |