[COMMITTED] support: Use syscall function instead of INLINE_SYSCALL_CALL

Message ID 20210318205347.1415775-1-adhemerval.zanella@linaro.org
State Committed
Commit 48593b505bca953901452cfd2fe117c9f4068a2b
Headers
Series [COMMITTED] support: Use syscall function instead of INLINE_SYSCALL_CALL |

Commit Message

Adhemerval Zanella Netto March 18, 2021, 8:53 p.m. UTC
  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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/support/support_path_support_time64.c b/support/support_path_support_time64.c
index 74af7d4973..452fedcde5 100644
--- a/support/support_path_support_time64.c
+++ b/support/support_path_support_time64.c
@@ -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