sync.S revision e4ffd9f2341f42c9281b4a93df76768580535edd
1/* autogenerated by gensyscalls.py */
2#include <asm/unistd.h>
3#include <linux/err.h>
4#include <machine/asm.h>
5
6ENTRY(sync)
7    pushl   %ebx
8    mov     8(%esp), %ebx
9    movl    $__NR_sync, %eax
10    int     $0x80
11    cmpl    $-MAX_ERRNO, %eax
12    jb      1f
13    negl    %eax
14    pushl   %eax
15    call    __set_errno
16    addl    $4, %esp
17    orl     $-1, %eax
181:
19    popl    %ebx
20    ret
21END(sync)
22