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: 164729 Delivered-To: patch@linaro.org Received: by 2002:ac9:2a84:0:0:0:0:0 with SMTP id p4csp1493646oca; Tue, 21 May 2019 06:52:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBqy8nTO8sZVpt1H+qRJ5TTHQtkNK+kd5VvE7jItIk+Q4sHkBtymaMzvog6rftWnvGX1ma X-Received: by 2002:a62:bd0e:: with SMTP id a14mr67814666pff.44.1558446759461; Tue, 21 May 2019 06:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558446759; cv=none; d=google.com; s=arc-20160816; b=IyXASdGKFs8IE8lqL5YmyTZzg5b6B6V1Z9Ke74assmPgkujYO01Mha+p8MjMxyVoA5 t2vm2K/tyG9ukQKvm18X46vNjdrkADUyqzY97yBKiiy9kTcMyBpGV++2eaofrS4rPkQm gRPYdvrCRxw0J8jb7fM5uENm/m1na8ds4Pr/S3GxPYbrQOUZ0+zQWDUEZoOsWIaiRL5Y yv6FesxTDMT7b+v25GmIWJ88AYQEkWX2xbLTnyInPe3EQBBUpXBX6Od76DAk0BXg0DPE JLUgYb5HKORSdp4v9vte+fAhZ94c2AIui1/ZtKdXdBN72KdPVAlFJ2GgQxyYdaiPKYoZ sN8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=vvi0pMWt+Jwt0z0mtMWpdF7FW8QhwT8o7MCOa64VsF0=; b=LKzRJwOLyBHmefYn9IQZCGi+huP03oTqZeaUSryGvFiYUgGBkBzwSboXr22CGid/91 J3nYn4tP4bRiWwNt2FrB85R51VLfENNkyoM0EvAkVa/mkWfpY+iTQfxumnOBvLN5dhR9 7q3iXTNIYUxk0Bs06+v0neH+nDpp/Zc6hTcHOlA7C3pU1NH7RbHByKiCRNcqmemLkMKo HOiO/5hhmfbvJRTlDqiGD04aQqrcdtf+U9oGR2RFdHk3tNs36OFauzY46JnDyTi3aX2Z ncYwOzm8yoq0C87/3+VczjCLp0uvjy6alz5HUKo+v1l9u+6mF47sYSwFuftGSifMuKcp Zkmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=s910IniC; dkim=pass header.i=@linaro.org header.s=google header.b=SUYn2rMj; spf=pass (google.com: domain of libc-alpha-return-102156-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-102156-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 140si22754564pfy.113.2019.05.21.06.52.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 06:52:39 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-102156-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=s910IniC; dkim=pass header.i=@linaro.org header.s=google header.b=SUYn2rMj; spf=pass (google.com: domain of libc-alpha-return-102156-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-102156-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=dN08G2eZPbpkXQ1aiFnF3tP4n/oBfi2AGdynGYlwK2AtOYfL+Lpnp z5tUEW0C2odsevY0QhXUl2XZ8m7h+UCcJ4118ZKN+0YQIZ/9oJu+6yg16yGpan/M Ak8YeAPfjs053nNUiDTXxLNZgGqsJzTsVlyEmnFu5NRie3c5c8zS7U= 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=s910IniCvir2Rp8sh+q8wtyMQtrd afjytLsNaXRSgkvrxOJmmwmtqI2S2j3EIQdcgRa1egYQEl6GrK+BLKAhwjyURsCa yCR4S2aX4IHMLK7jJAWvx3jBBwqANLU2dwP92nq2Ur8TkJgo5BS/UTGS7aFYRQQy a5BiQtgGV+Fl/WU= 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== Return-Path: 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(+) -- 2.17.1 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