Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2102230pxb; Mon, 12 Apr 2021 14:34:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpBrVWQCtbtNJO78UGYpFhcLgha0oALsLVrC9c3CBxESeVDkHDVrPkIBu3TmZbC/sWjSty X-Received: by 2002:a05:6402:268c:: with SMTP id w12mr30768294edd.280.1618263284846; Mon, 12 Apr 2021 14:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618263284; cv=none; d=google.com; s=arc-20160816; b=mvzf4XIHUgH8hQmWY06FqRZA4V4XQ5VGG75mHG5sEwMr0iMbOzhkBAzgcD0WmWWSLz 6mmK5VUQSw5xd3nBcKv1norT1+GN6aVL5IiJPBHsJ6hK0ewbsO1jusArqesT7yn6z++Z hD4ohob7pNrDy2K/1T2X1VzF3camrdFgAudVw8TNVuGQx7ireDWD3uV52ZJy/V1E9mza Vl3cEds1KL6BbOebFcih2cX+a8Bxas+OhFM5XK27BGcSADFlO3AU8gsay/LfYZDvunGU 9s2DSw90/5LK4fvEmmgSr5cRbwyMuUWn5MghrlI4wwRPnkIwQWdRPXHd+NL82Aengo34 +ZjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AsS0qVynmQzQb3jMNW5nUdgLQlBP5gem8xAk3DyV6Nw=; b=D3p6tpdVHg6xl70r/cIVOYJC7RWCabSnEDUKX6W8cNOEJfqEd0O77K6O9E7D54Dx7o dtrAqVkvB0YehchBnvksXX7A43k7GrXQyZH3nnt7HfzmMO1Xru/goP1EJec/acCmJsWz 5ZQ/Ff/lKb1H+gpK1cj8mT/JzgzzLU/pqVLdBltRHpxYH+TU0TbdT1z9o7Euv/A3he7/ j1rXOUPvwRCzYd9tkxr5JC/ntz5m05PAPOggt+wVRZK0sYcgA4zjkTimtRP6m1COrVoG C8PTENwcp5s/ay/aDq9XVusRR2zppRA+urHGDf7Cyccfw5v6yOG7hCCl7LHSExugO08c ib5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=N3qsnG3A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be12si9157552edb.159.2021.04.12.14.34.21; Mon, 12 Apr 2021 14:34:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=N3qsnG3A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241478AbhDLJQS (ORCPT + 99 others); Mon, 12 Apr 2021 05:16:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239030AbhDLI7A (ORCPT ); Mon, 12 Apr 2021 04:59:00 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3D53C061359; Mon, 12 Apr 2021 01:56:13 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-)