Message ID | 20190405135936.7266-9-will.deacon@arm.com |
---|---|
State | Accepted |
Commit | 335b5c638bfd72b959b22c80f65dea3f614b6cca |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp472132jan; Fri, 5 Apr 2019 07:00:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeUihsmC+LrJU1bVKADKmcouB7pAq1vvk8RZWhVbbDxWoHP7NF7LIV4tFKycphUtN4qvCA X-Received: by 2002:a62:1bc7:: with SMTP id b190mr12882861pfb.29.1554472821591; Fri, 05 Apr 2019 07:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554472821; cv=none; d=google.com; s=arc-20160816; b=RZiuzx6yH1KI/RPxeAElpH1ZP4iPHhW1r3ud8BYaHhan5ZfyCm5ORGMk3gXjnbCToW 2OkNqfIVSbxWLjkDIHwDRLGYbq1pDgyWnWjzxGu/Nc+wfNrnsXDLay04h6r8kY49Qx+4 AAHmzk1Mlq6R83x7QAlz+yf1Tan+H9ehzVjAUD8XVfyg35Lb1HgbYFVGvoRY5wdkPxH6 2Pez0LRDdMskvoAglweZN9axU4JyL4ZSjXUupEh3UzewhtatVFa/WnsugtpZtec7RqXC y/GVMBwy/rmHZDW3BcGuZAArwpwyOwKHIKgLVmZ3Qj7m49PN/CQRO5RYPHRPKAKHyQWi DTbQ== 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=qt35XRz0jF/uIrZsMwdnO2/cXuGOMWjy9+rqRYzuhDc=; b=JOK0+JWowqAZdzyK7RSOPDFqmNf41gDrs4gGyigHuMhPZ5m4WiWOiLUcaNpuFNzlLe U30gWoQsIcmPEOQJq0+tldWGkwtI4EfnL+KyryyLD14UZvV5AyBzTaYYcFLl3tbbaCb0 WoZZH1uKMhegxh9ebQDh7/uEUnaPjCt3jIYscr+u4MwdZ0JsC/GDEHT/5hPbxaFX7bQh Ay7dt3Yp8Tsqy02iQmMe+ZZ33ddu0T5UUQIkBcqu7LZhwlXWoEJMuClS/OcB+92sBRQ7 YaNTnT6TehFNIckdzIOzkvmvob8CFZ+Kk9cniCo+pH+gqMWxxfyOAU9dDhxmwsZIKxlv vhzg== 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 s14si3467648pgs.343.2019.04.05.07.00.21; Fri, 05 Apr 2019 07:00:21 -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 S1731402AbfDEOAT (ORCPT <rfc822;mike.holmes@linaro.org> + 31 others); Fri, 5 Apr 2019 10:00:19 -0400 Received: from foss.arm.com ([217.140.101.70]:49306 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731383AbfDEOAS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 5 Apr 2019 10:00:18 -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 0809019BF; Fri, 5 Apr 2019 07:00:18 -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 1BBAE3F68F; Fri, 5 Apr 2019 07:00:13 -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 08/21] nds32/io: Remove useless definition of mmiowb() Date: Fri, 5 Apr 2019 14:59:23 +0100 Message-Id: <20190405135936.7266-9-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/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h index 71cd226d6863..5ef8ae5ba833 100644 --- a/arch/nds32/include/asm/io.h +++ b/arch/nds32/include/asm/io.h @@ -55,8 +55,6 @@ static inline u32 __raw_readl(const volatile void __iomem *addr) #define __iormb() rmb() #define __iowmb() wmb() -#define mmiowb() __asm__ __volatile__ ("msync all" : : : "memory"); - /* * {read,write}{b,w,l,q}_relaxed() are like the regular version, but * are not guaranteed to provide ordering against spinlocks or memory
mmiowb() only makes sense for SMP platforms, so we can remove it entirely for nds32. Signed-off-by: Will Deacon <will.deacon@arm.com> --- arch/nds32/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0