diff mbox

[22/26] ia64: Do not define __NR_semtimedop in <sysdep.h>

Message ID c93a787fa375a3cdbbbe2468b51811ed861158c3.1581279333.git.fweimer@redhat.com
State Committed
Delegated to: Carlos O'Donell
Headers show

Commit Message

Florian Weimer Feb. 9, 2020, 8:21 p.m. UTC
The definition is always available from the built-in system call table.
---
 sysdeps/unix/sysv/linux/ia64/sysdep.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Adhemerval Zanella Feb. 27, 2020, 11:46 p.m. UTC | #1
On 09/02/2020 17:21, Florian Weimer wrote:
> The definition is always available from the built-in system call table.

LGTM, thanks. 

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

> ---
>  sysdeps/unix/sysv/linux/ia64/sysdep.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h
> index 59442c50e9..fec8ea9d4b 100644
> --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h
> +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h
> @@ -46,12 +46,6 @@
>  #undef SYS_ify
>  #define SYS_ify(syscall_name)	__NR_##syscall_name
>  
> -/* This is to help the old kernel headers where __NR_semtimedop is not
> -   available.  */
> -#ifndef __NR_semtimedop
> -# define __NR_semtimedop 1247
> -#endif
> -
>  #if defined USE_DL_SYSINFO \
>  	&& (IS_IN (libc) \
>  	    || IS_IN (libpthread) || IS_IN (librt))
>
diff mbox

Patch

diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h
index 59442c50e9..fec8ea9d4b 100644
--- a/sysdeps/unix/sysv/linux/ia64/sysdep.h
+++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h
@@ -46,12 +46,6 @@ 
 #undef SYS_ify
 #define SYS_ify(syscall_name)	__NR_##syscall_name
 
-/* This is to help the old kernel headers where __NR_semtimedop is not
-   available.  */
-#ifndef __NR_semtimedop
-# define __NR_semtimedop 1247
-#endif
-
 #if defined USE_DL_SYSINFO \
 	&& (IS_IN (libc) \
 	    || IS_IN (libpthread) || IS_IN (librt))