This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] arm: fix use of INTERNAL_SYSCALL_CALL
Remove extra argument from INTERNAL_SYSCALL_CALL macro call. Fixes
commit bc2eb9321e ("linux: Remove INTERNAL_SYSCALL_DECL").
---
sysdeps/unix/sysv/linux/arm/tls.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/arm/tls.h b/sysdeps/unix/sysv/linux/arm/tls.h
index 1b520c6802..57b583dbd8 100644
--- a/sysdeps/unix/sysv/linux/arm/tls.h
+++ b/sysdeps/unix/sysv/linux/arm/tls.h
@@ -32,7 +32,7 @@
operation can cause a failure 'errno' must not be touched. */
# define TLS_INIT_TP(tcbp) \
({ long int result_var; \
- result_var = INTERNAL_SYSCALL_CALL (set_tls, 1, (tcbp)); \
+ result_var = INTERNAL_SYSCALL_CALL (set_tls, (tcbp)); \
INTERNAL_SYSCALL_ERROR_P (result_var) \
? "unknown error" : NULL; })
--
2.25.0
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."