This is the mail archive of the glibc-cvs@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]

[glibc/zack/no-nested-includes] sysvipc: Add missing bit of semtimedop s390 consolidation


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=004e52febf30012abeafb696a4f16aedd75aeb83

commit 004e52febf30012abeafb696a4f16aedd75aeb83
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue May 21 10:40:31 2019 -0300

    sysvipc: Add missing bit of semtimedop s390 consolidation
    
    This patch add the missing SEMTIMEDOP_IPC_ARGS definions on powerpc
    and sparc ipc_priv.h.
    
    Checked on powerpc64le-linux-gnu and with a build for sparc64-linux-gnu.
    
    	* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
    	New define.
    	* sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
    	(SEMTIMEDOP_IPC_ARGS): Likewise.

Diff:
---
 ChangeLog                                        | 7 +++++++
 sysdeps/unix/sysv/linux/powerpc/ipc_priv.h       | 3 +++
 sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h | 3 +++
 3 files changed, 13 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 35e6f7c..324964a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-05-21  Adhemeval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
+	New define.
+	* sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
+	(SEMTIMEDOP_IPC_ARGS): Likewise.
+
 2019-05-21  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #24584]
diff --git a/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h b/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h
index 3450933..304ecc8 100644
--- a/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h
+++ b/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h
@@ -36,4 +36,7 @@ struct __old_ipc_perm
 #define MSGRCV_ARGS(__msgp, __msgtyp) \
   ((long int []){ (long int) __msgp, __msgtyp })
 
+#define SEMTIMEDOP_IPC_ARGS(__nsops, __sops, __timeout) \
+  (__nsops), 0, (__sops), (__timeout)
+
 #include <ipc_ops.h>
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h b/sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
index 8936aed..e436599 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
@@ -38,4 +38,7 @@ struct __old_ipc_perm
 /* Also for msgrcv it does not use the kludge on final 2 arguments.  */
 #define MSGRCV_ARGS(__msgp, __msgtyp) __msgp, __msgtyp
 
+#define SEMTIMEDOP_IPC_ARGS(__nsops, __sops, __timeout) \
+  (__nsops), 0, (__sops), (__timeout)
+
 #include <ipc_ops.h>


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