From patchwork Tue May 21 13:52:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1102794 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-102156-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="m+oxin7t"; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="SUYn2rMj"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 457cdw5v7kz9sBV for ; Tue, 21 May 2019 23:52:36 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=CxnqCqy3FHC2slsJeELtJHr4ilBCYHfjGVOFIPzmZp2MzEwLRtu0C nc6j4cn72OXo6gLK2sBTN90XVlEtbUIYXkj+OAN7iMbgNTQhsxUaPOd70CtrCdAN uiS95ZgAL0BDfLOMI53epiOwi8MXbhu9MqBiZOm8DJO/zXDyoTUF18= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=rp1K43kE9bnkKSccUkS7+96+ArY=; b=m+oxin7tFeSdAjaXxp+8Micc00yx 3XTxDqGmQ5byMC+CpAIjg27BrVgz+YmbJ33vgp7u/mZ//nThQiTxxJzcNE33QO0Y SL7+IhkMmSN+mVHLD7fTbWhhYkf+Q5WyK1t6x7pff3PgKp0BbPrqNpYF7kOhbhmM 351uCtPUPlraNLo= Received: (qmail 1995 invoked by alias); 21 May 2019 13:52:31 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 1983 invoked by uid 89); 21 May 2019 13:52:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=consolidation, HX-Languages-Length:1609 X-HELO: mail-vs1-f65.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=vvi0pMWt+Jwt0z0mtMWpdF7FW8QhwT8o7MCOa64VsF0=; b=SUYn2rMj5Rcqe61Cyp4KupfaTQ7EsTXcXVPXgJSe+SZAOdcgEOkJT6Aer6lXhdFvGF jRvbFdYjR6KK1hnTxSiV67RG9HxQVgqvjueak1/ZQ3pBL2RmCKAXm0zmm1sQ9yTDIvgY QSdJRP+BLcNMjoCgN8OUGTPCTqZ92F2lfEhBEVjfKZXcim8bqwOtbfIRW+3qMQaCEiHN CIClGKDPsXW2eTx5NRPhjwK04ztl1RZpGWuuX7q5Ox8o6jk1BtNwvo7zhI+KE8TRRgVP bh1ga02aSdYWFdBSAT9GRn+NS+xl8IQGYDXYtNYUpMc45rafbYQGDs4u94hvHsYOff2m aJQQ== From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] sysvipc: Add missing bit of semtimedop s390 consolidation Date: Tue, 21 May 2019 10:52:24 -0300 Message-Id: <20190521135224.32470-1-adhemerval.zanella@linaro.org> 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. --- 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/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h b/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h index 3450933f56..304ecc8d53 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 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h b/sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h index 8936aed022..e436599098 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