blob: c08688a106cbc406b2e8b655b5941435525a0d2b [file] [log] [blame]
Elliott Hughes896362e2017-08-24 16:31:49 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(syncfs)
6 pushl %ebx
7 .cfi_def_cfa_offset 8
8 .cfi_rel_offset ebx, 0
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
16 movl $__NR_syncfs, %eax
17 call *(%esp)
18 addl $4, %esp
19
20 cmpl $-MAX_ERRNO, %eax
21 jb 1f
22 negl %eax
23 pushl %eax
24 call __set_errno_internal
25 addl $4, %esp
261:
27 popl %ebx
28 ret
29END(syncfs)