diff mbox

arm: fix use of INTERNAL_SYSCALL_CALL

Message ID 87o8u02o1p.fsf_-_@hase.home
State New
Headers show

Commit Message

Andreas Schwab Feb. 15, 2020, 9:32 a.m. UTC
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(-)

Comments

Florian Weimer Feb. 15, 2020, 9:55 a.m. UTC | #1
* Andreas Schwab:

> 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; })

Looks okay.  Thanks.
diff mbox

Patch

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; })