aboutsummaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/syncfs.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/syncfs.S')
-rw-r--r--libc/arch-arm64/syscalls/syncfs.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/syncfs.S b/libc/arch-arm64/syscalls/syncfs.S
new file mode 100644
index 000000000..773c0cb45
--- /dev/null
+++ b/libc/arch-arm64/syscalls/syncfs.S
@@ -0,0 +1,14 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(syncfs)
+ mov x8, __NR_syncfs
+ svc #0
+
+ cmn x0, #(MAX_ERRNO + 1)
+ cneg x0, x0, hi
+ b.hi __set_errno_internal
+
+ ret
+END(syncfs)