]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
support: Use syscall function instead of INLINE_SYSCALL_CALL
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Mar 2021 20:52:09 +0000 (17:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Mar 2021 20:52:09 +0000 (17:52 -0300)
It fixes the build on ARM in thumb mode that requires an out of the
line helper (__libc_do_syscall) to issue the syscall.

support/support_path_support_time64.c

index 74af7d4973f11d4abe2e5a620e2e5fa82fe758de..452fedcde521e29496a104d15d3098b7458676e8 100644 (file)
@@ -31,7 +31,7 @@ utimesat_call (const char *path, const struct __timespec64 tsp[2])
 # ifndef __NR_utimensat_time64
 #  define __NR_utimensat_time64 __NR_utimensat
 # endif
-  return INLINE_SYSCALL_CALL (utimensat_time64, AT_FDCWD, path, &tsp[0], 0);
+  return syscall (__NR_utimensat_time64, AT_FDCWD, path, &tsp[0], 0);
 }
 #endif