Message ID | 20190405135936.7266-7-will.deacon@arm.com |
---|---|
State | Accepted |
Commit | d51575621f0fd6c6dd62f7b29a0309425681b813 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp471931jan; Fri, 5 Apr 2019 07:00:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3DUV4ZESpxiG3NvC/UHdnFhs6bIfzww5R0fz+dMNKUIsp5UHaHhGGTDpxUbHGxEfeUjr4 X-Received: by 2002:a65:5249:: with SMTP id q9mr12330059pgp.104.1554472812211; Fri, 05 Apr 2019 07:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554472812; cv=none; d=google.com; s=arc-20160816; b=LooLVHwz3apUpXW6zVGmw1BQ6vQaaMqH4hTIlVFAA/RNOm2WwRj2LR4OABKH3XyDJS 2UwhH9AR3VOGeXfqBAPj/0g7q3mIy+BWZkbNvbw2On2mhC20Jh8m7jLJy3nJ6DRvHZXG xbjnnOIcuVaiewhk3h5Bq9I9EPQorJ94j/efhw+Je/8ULqA4D1avZcmydJMtIEG0hA9v SI3in2b5t8fomFyLofax0ZhZ8RWp2u6XqfWLYhhQhX7t3bZEsBlcPBy43bxCKMWfBuVB 6tM2fmMF0jFfePms+pRBlf7peov8VPDuDZaKyz5Ie7l2exnUwkMZtnEN7/xf9oAC5VnR DEjQ== 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=sSApYWBMscjvDl8iKj3F9pe6OuGBsehKOHQ/cgxtt7SpYlTTn80hEBq3hDw8X1+Qk/ aMOo/hvJyQp4tTMAVdiJJkfSf7+/qwtxz2sWudqGoCEOA12vcTnAOwjZgwAf0nu6KeBE /ku3+1J1W+1r026n9WQB3sknNOD+w5aBRC9sM3aaky3VkWP23NXeIV0nlw7DKquKA83t V/r68MmTq+2lxfsVR4rn7UftMMzixtOEZLm/yOKMyjqAKH7YDpCgDCX7e0w+VpMPo067 1W5NEANQ36FbhM1Flgsm0C3GzLG+rMpV1Sa9nI6G49TecoyhsBAGLvKM+OaYTGmXTrIM j2xw== 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w25si19426629pgc.23.2019.04.05.07.00.11; Fri, 05 Apr 2019 07:00:12 -0700 (PDT) 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 S1731357AbfDEOAL (ORCPT <rfc822;mike.holmes@linaro.org> + 31 others); Fri, 5 Apr 2019 10:00:11 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:49214 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731306AbfDEOAJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 5 Apr 2019 10:00:09 -0400 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 4995B1993; Fri, 5 Apr 2019 07:00:09 -0700 (PDT) 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 66A863F68F; Fri, 5 Apr 2019 07:00:05 -0700 (PDT) From: Will Deacon <will.deacon@arm.com> To: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Will Deacon <will.deacon@arm.com>, "Paul E. McKenney" <paulmck@linux.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Michael Ellerman <mpe@ellerman.id.au>, Arnd Bergmann <arnd@arndb.de>, Peter Zijlstra <peterz@infradead.org>, Andrea Parri <andrea.parri@amarulasolutions.com>, Palmer Dabbelt <palmer@sifive.com>, Daniel Lustig <dlustig@nvidia.com>, David Howells <dhowells@redhat.com>, Alan Stern <stern@rowland.harvard.edu>, Linus Torvalds <torvalds@linux-foundation.org>, "Maciej W. Rozycki" <macro@linux-mips.org>, Paul Burton <paul.burton@mips.com>, Ingo Molnar <mingo@kernel.org>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, Tony Luck <tony.luck@intel.com>, Mikulas Patocka <mpatocka@redhat.com>, Akira Yokosawa <akiyks@gmail.com>, Luis Chamberlain <mcgrof@kernel.org>, Nicholas Piggin <npiggin@gmail.com> Subject: [PATCH v2 06/21] arm64/io: Remove useless definition of mmiowb() Date: Fri, 5 Apr 2019 14:59:21 +0100 Message-Id: <20190405135936.7266-7-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190405135936.7266-1-will.deacon@arm.com> References: <20190405135936.7266-1-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb())
|
expand
|
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
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 <will.deacon@arm.com> --- arch/arm64/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0