This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] arm: fix use of INTERNAL_SYSCALL_CALL


* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]