From patchwork Fri Feb 22 18:50:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 159055 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2070008jaa; Fri, 22 Feb 2019 10:50:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IZk0LYdfqfbluJ2YWQePu5lpFXEQ797SUPIaIFOHNSS3nTpn25yNNQJQNpxYAqZdazCPj83 X-Received: by 2002:a63:ef50:: with SMTP id c16mr5385685pgk.3.1550861455376; Fri, 22 Feb 2019 10:50:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550861455; cv=none; d=google.com; s=arc-20160816; b=z7CXIrl89Cf5lSUIXJwN2iDExcLtPWBeO5OkZi0O/iJp+SuoruBFm0nozyFZHHxtDt PwtGmckGmfXBTznjjH/njVgaz4dhowSzKO1OY5nTmE+e64OYYQ9RnK8YLKvJFHrf+G/h E6GNGbhwXGpHZm2NgAPVuBZDGS/b7ehMRIHOjjCxS9tVzEIR1DPgs0tC2Y61YSwIped5 hI/QBZCRbLlg0BD5GI3gjj9dX7AsN4yLvTUtTaWJ6PsyQsO1R9XPPBilTm+kQQVCC+6F KuSqBkxNICGLgSyIw9tVq0jFd3F/08N0kbnjLdRqhNe5D68S7jgsd3Rpqee8m+OQ0e8l m1qg== 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=StFgjbAlIky/3H4+nNs/OVTgDJt+Ac0y9mWIkjYbVHLikauNJH0adjd8Fty4eZqaHy jIsLjOirklnlPifNT1db2eUqUP8gHwG2jLdFAU3ELuF5lrZtu7JRV+KRr0V+3hdI6hbB DsDtvb7H0JQdGSxfdV4oGMAqTs8S7UBS7WoDrPlvbPAmf1hbORlqTE2UR7o2S7HGfj5e Xzs1L+98cCffAr5w65kgzMDuC954yzsslHsxjuYSX1/K/MbEkzHJCRINu3eN2vlXVJqU uEYD9lHlcVgSUjvEi4pKmkBkFyio0kPlIXu0+KpUyO95G3Yxzgd1clEbdFkotbjCsP8J hA+A== 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 21si1960106pgl.308.2019.02.22.10.50.55; Fri, 22 Feb 2019 10:50:55 -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 S1727079AbfBVSux (ORCPT + 32 others); Fri, 22 Feb 2019 13:50:53 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:39214 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfBVSuw (ORCPT ); Fri, 22 Feb 2019 13:50:52 -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 59C6F80D; Fri, 22 Feb 2019 10:50:52 -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 15C873F5C1; Fri, 22 Feb 2019 10:50:48 -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: [RFC PATCH 05/20] arm64: io: Remove useless definition of mmiowb() Date: Fri, 22 Feb 2019 18:50:11 +0000 Message-Id: <20190222185026.10973-6-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190222185026.10973-1-will.deacon@arm.com> References: <20190222185026.10973-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