summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/include/sys/syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h
index 4df3825..a4b12d3 100644
--- a/sys/include/sys/syscall.h
+++ b/sys/include/sys/syscall.h
@@ -114,7 +114,8 @@ syscall5(uint64_t code, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t ar
}
__always_inline static inline long
-syscall6(uint64_t code, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5) {
+syscall6(uint64_t code, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5)
+{
volatile long ret;
register uint64_t _arg3 asm("r10") = arg3;
register uint64_t _arg4 asm("r9") = arg4;