arm: fix use of INTERNAL_SYSCALL_CALL

Message ID 87o8u02o1p.fsf_-_@hase.home
State New
Headers show
Series
  • arm: fix use of INTERNAL_SYSCALL_CALL
Related show

Commit Message

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

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

Comments

Florian Weimer Feb. 15, 2020, 9:55 a.m. | #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.

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