Greg Hackmann | 3f3f6c5 | 2016-01-27 17:13:51 -0800 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
| 2 | |
| 3 | #include <private/bionic_asm.h> |
| 4 | |
| 5 | ENTRY(adjtimex) |
| 6 | pushl %ebx |
| 7 | .cfi_def_cfa_offset 8 |
| 8 | .cfi_rel_offset ebx, 0 |
Mingwei Shi | be91052 | 2015-11-12 07:02:14 +0000 | [diff] [blame] | 9 | |
| 10 | call __kernel_syscall |
| 11 | pushl %eax |
| 12 | .cfi_adjust_cfa_offset 4 |
| 13 | .cfi_rel_offset eax, 0 |
| 14 | |
| 15 | mov 12(%esp), %ebx |
Greg Hackmann | 3f3f6c5 | 2016-01-27 17:13:51 -0800 | [diff] [blame] | 16 | movl $__NR_adjtimex, %eax |
Mingwei Shi | be91052 | 2015-11-12 07:02:14 +0000 | [diff] [blame] | 17 | call *(%esp) |
| 18 | addl $4, %esp |
| 19 | |
Greg Hackmann | 3f3f6c5 | 2016-01-27 17:13:51 -0800 | [diff] [blame] | 20 | cmpl $-MAX_ERRNO, %eax |
| 21 | jb 1f |
| 22 | negl %eax |
| 23 | pushl %eax |
| 24 | call __set_errno_internal |
| 25 | addl $4, %esp |
| 26 | 1: |
| 27 | popl %ebx |
| 28 | ret |
| 29 | END(adjtimex) |