Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp484409imb; Fri, 1 Mar 2019 06:06:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwHrmQut8G90IAZs6J3fAlblRnMe+fugjoJa74Ixw4amEMeLcuJwQwuJk/tG0RJ2T6C/Uhs X-Received: by 2002:a17:902:585:: with SMTP id f5mr5659909plf.242.1551449161248; Fri, 01 Mar 2019 06:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551449161; cv=none; d=google.com; s=arc-20160816; b=zGesK2EUXNOxgZ39IkzkmeMm2FWGhvNHaV+YENLmziwnY9bvMpo3Viil+ipUMmMLkg kgrr4ZXs4EAe0OPgFeEas0Awox/J8xCfI/RZ2N2t40qvKbjZ1IorimNtHUxg6HQgwTTQ vkUoV9lymOz7fDAnFZI8Yk5Q0ZIXnIA/mAzyMpfVYZ163EtuMLQcxGJJS270ZhuUI8Cz OGluRGXHRDvv+6H3nZ6QP8J3iEzGBvWYRYhOOQuWHNtd1+osH/bssNR+0oj10ctt1l6N HFk2+1XE/SxuDyjU16HWTRS7TgN1NPMsKffmKgYhtC3pIn1YoXOVrS39TOPan1EVj2/c 4UVQ== 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=jqWqfE9qV/nP9mpYvQ1mEsYbBu7b0g/ls91jLz/VGe1EPBHpVtQDSeWcfP7F3Rpt7s zdrk75d1JKzcxPTC7a7iEpmq8dKd+kMNcUUvVRf4wMkrJUX8Ne47BaKoUlFR7Nh3vVw/ STzYTEtBEqzbIxCTJxdHX0RNEeQjxZfEXJGtW5IZY7cdszpoEh+DNgRCbW2AafvXIY46 p/sWl/n7p2ryyRLdfIIDNdkaU7WUvnsYYmlA0V4nBWU0bck0dbQ/yh1MROpzPPedOTj3 oq11U9IceR06x/xa78p99Q039Y5TLL/3J0rKcuz6cxs3b2Hvi0CZbxAMKrF3l5EHiDtT bb6g== 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 q20si20575293plr.136.2019.03.01.06.05.45; Fri, 01 Mar 2019 06:06:01 -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 S2388478AbfCAOEc (ORCPT + 99 others); Fri, 1 Mar 2019 09:04:32 -0500 Received: from foss.arm.com ([217.140.101.70]:35752 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388460AbfCAOE0 (ORCPT ); Fri, 1 Mar 2019 09:04:26 -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 6B2B81993; Fri, 1 Mar 2019 06:04:26 -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 271A63F720; Fri, 1 Mar 2019 06:04:23 -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 07/20] nds32/io: Remove useless definition of mmiowb() Date: Fri, 1 Mar 2019 14:03:35 +0000 Message-Id: <20190301140348.25175-8-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 mmiowb() only makes sense for SMP platforms, so we can remove it entirely for nds32. Signed-off-by: Will Deacon --- arch/nds32/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.11.0