Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80D8EC433ED for ; Mon, 12 Apr 2021 08:57:49 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 22B8D61289 for ; Mon, 12 Apr 2021 08:57:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 22B8D61289 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=9Nh4x73T+Hs/ayGXYlnjCdpIxPptSCsiduyKYUep4A8=; b=VFa3j1LlnGC2E+drQHt/jWBLfG KYAj50poI8hajMCNcbH+K39MhWJpX4rxs0v7J+yNZ8URKFnjsytDz9BkV0bzNJPCzsMz+ZLTRqAiS IZ+R0ZyU8dsGIwS33cJVHHrMsO8MRkzsuxePmihsYYOJ/R7c+icqHFe8F9In6GCBTuQ+iSYoC9GX/ zq4+gbUlNay5PnsZKgJyA60OX1LLPmFqPEmIsHolKr9z4NdkFVK9OERxYBPiLrO7sMeMv/aBdD1Eg JVv2pBez/J0BNCb3Ph4WxY5UUUhnUgvl9MWpKpZwCwO+9CmKAg4MIG/Xx7bI/HP0yWpT+uzpaY+Du yma4jILA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVsMg-006AsZ-Kw; Mon, 12 Apr 2021 08:56:14 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVsMK-006Ana-EE for linux-arm-kernel@desiato.infradead.org; Mon, 12 Apr 2021 08:55:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=AsS0qVynmQzQb3jMNW5nUdgLQlBP5gem8xAk3DyV6Nw=; b=N3qsnG3AazzqKHA9ERMeLn+ayA 79zNMoOF8+tpwX3fO2Rh+XPpOxrsh5chPi9nl+OS+weKbQfRS1RhnAezt+rbfC8878F3qJcAWs1G8 h1XkE6AKPUP0C1gSxJeRBD7OMHv8/OCx5KxF+Yi65kg+E2JiKFB++8QOpbhseR6Oi8zyXmYlH2MQh rzjyTDH2JUqIFhl4k3bFg/QleggRLVQW3VeTocjbzt8x45w4mHx+7g+anay83LhRTwKPDhdf8frSx qRuf7GS1+ruREWDPzYBTnLoH1vqzztN9pVyAE2pDOAtcZGZqvpfTvN5Q1czxF2ql9ZMBOgwFVUtJB rNnUaw9w==; Received: from [2001:4bb8:199:e2bd:3218:1918:85d1:2852] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lVsMF-0060DS-FS; Mon, 12 Apr 2021 08:55:48 +0000 From: Christoph Hellwig To: Catalin Marinas , Will Deacon , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Michael Ellerman , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , "David S. Miller" , x86@kernel.org, Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: consolidate the flock uapi definitions Date: Mon, 12 Apr 2021 10:55:40 +0200 Message-Id: <20210412085545.2595431-1-hch@lst.de> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, currently we deal with the slight differents in the various architecture variants of the flock and flock64 stuctures in a very cruft way. This series switches to just use small arch hooks and define the rest in asm-generic and linux/compat.h instead. Diffstat: arch/arm64/include/asm/compat.h | 20 -------------------- arch/mips/include/asm/compat.h | 23 ++--------------------- arch/mips/include/uapi/asm/fcntl.h | 28 +++------------------------- arch/parisc/include/asm/compat.h | 16 ---------------- arch/powerpc/include/asm/compat.h | 20 -------------------- arch/s390/include/asm/compat.h | 20 -------------------- arch/sparc/include/asm/compat.h | 22 +--------------------- arch/x86/include/asm/compat.h | 24 +++--------------------- include/linux/compat.h | 31 +++++++++++++++++++++++++++++++ include/uapi/asm-generic/fcntl.h | 21 +++++++-------------- tools/include/uapi/asm-generic/fcntl.h | 21 +++++++-------------- 11 files changed, 54 insertions(+), 192 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel