From patchwork Fri Mar 1 14:03:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 159485 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp769395jad; Fri, 1 Mar 2019 06:04:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxja/Wl3N+DXOIuJR9zL4/eo9yTlfk69GeJTNaN3Bzt0IE/BFtPNzEZYk7VWOgRqNqEH0dy X-Received: by 2002:a65:6489:: with SMTP id e9mr4985390pgv.260.1551449065486; Fri, 01 Mar 2019 06:04:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551449065; cv=none; d=google.com; s=arc-20160816; b=GelwRFLh+FYWbu8D4jg4iy+MtTRukBY7eLsrv/hlIyB0tKIGWUmtc3/79y2sFMtlWd JAuXDkCs51I9PmCax94jSH42d3AYDEAJWhmWUm1ML7DEPSsAjd8nwrjX8302oodXAsT2 P2dp0ZPVVPsuOwP19NDkKk2Pnzi+lZdwBtaokrirMqxfVei/Rny5vsFHm3iQmlKa7Xgm 8M29fhFV1XzqIzEh/fkfDqdm3U3eS+qJ9uICxFEXK2x0cOtNTFETRjwqJ4Q8bfkVu/6p +XLh2IQsytpOtyE77HuQHiqjTfA4nko44dOl8ubVoq+lNhBmg2+mFWTSZZhgnNgsZQHz 8KgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=ntGVwuHiJI3xry2GRxBRRPnImuagP6EBEsTVhIfpG4w=; b=VwcuGFoZM0C6OYi/bYH8hyJCyQLry6zqzvTxHCisU+EbZCJi0Jq8dGFR2dtpeyQlSO TXs5YxkXYFoQMfscTjQnDFDOwyokm2jvO7rserRwbj1H9Ht8OO6gL8eDwcVoKV6zAE6K t2s0qLo8TwMn20mswBFZTkdqlN+Ij5hz5lOnuMNmMChmJNAJSE6maOFLRNBFLlKAZfF2 riiAW6qKfMei0o4GXJ2i6vFTGZ9QrHKRPNijvtPg9fyViEA4n4d7nJpxkPXDcFkCA8Ww NQoX6uLI3EZS2XtSaepEzzPZK5QPN83zby6as0+C2uBouPmF+rhPC7R0L0hdO2Ab/Otz RQww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si7577774pgq.156.2019.03.01.06.04.24; Fri, 01 Mar 2019 06:04:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388451AbfCAOEX (ORCPT + 31 others); Fri, 1 Mar 2019 09:04:23 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35668 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733126AbfCAOET (ORCPT ); Fri, 1 Mar 2019 09:04:19 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 55C6A16A3; Fri, 1 Mar 2019 06:04:19 -0800 (PST) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 11A513F720; Fri, 1 Mar 2019 06:04:15 -0800 (PST) From: Will Deacon To: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Will Deacon , "Paul E. McKenney" , Benjamin Herrenschmidt , Michael Ellerman , Arnd Bergmann , Peter Zijlstra , Andrea Parri , Palmer Dabbelt , Daniel Lustig , David Howells , Alan Stern , Linus Torvalds , "Maciej W. Rozycki" , Paul Burton , Ingo Molnar , Yoshinori Sato , Rich Felker , Tony Luck Subject: [PATCH 05/20] arm64/io: Remove useless definition of mmiowb() Date: Fri, 1 Mar 2019 14:03:33 +0000 Message-Id: <20190301140348.25175-6-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190301140348.25175-1-will.deacon@arm.com> References: <20190301140348.25175-1-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org arm64 includes asm-generic/io.h, which provides a dummy definition of mmiowb() if one isn't already provided by the architecture. Remove the useless definition. Signed-off-by: Will Deacon --- arch/arm64/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0 diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index 8bb7210ac286..b807cb9b517d 100644 --- a/arch/arm64/include/asm/io.h +++ b/arch/arm64/include/asm/io.h @@ -124,8 +124,6 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) #define __io_par(v) __iormb(v) #define __iowmb() wmb() -#define mmiowb() do { } while (0) - /* * Relaxed I/O memory access primitives. These follow the Device memory * ordering rules but do not guarantee any ordering relative to Normal memory