The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | /* autogenerated by gensyscalls.py */ |
| 2 | #include <sys/linux-syscalls.h> |
| 3 | |
| 4 | .text |
The Android Open Source Project | 4e468ed | 2008-12-17 18:03:48 -0800 | [diff] [blame^] | 5 | .type __timer_getoverrun, @function |
| 6 | .globl __timer_getoverrun |
The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 7 | .align 4 |
| 8 | |
The Android Open Source Project | 4e468ed | 2008-12-17 18:03:48 -0800 | [diff] [blame^] | 9 | __timer_getoverrun: |
The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 10 | pushl %ebx |
| 11 | mov 8(%esp), %ebx |
| 12 | movl $__NR_timer_getoverrun, %eax |
| 13 | int $0x80 |
| 14 | cmpl $-129, %eax |
| 15 | jb 1f |
| 16 | negl %eax |
| 17 | pushl %eax |
| 18 | call __set_errno |
| 19 | addl $4, %esp |
| 20 | orl $-1, %eax |
| 21 | 1: |
| 22 | popl %ebx |
| 23 | ret |