Message ID | 20190405135936.7266-6-will.deacon@arm.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp471867jan; Fri, 5 Apr 2019 07:00:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3F55K3EOy/EiIP/Thh903ZzesYxaHXwOhYGBwoKkrQrAUULZmFKUkpsdLX+BRsTOgVSIY X-Received: by 2002:a62:874d:: with SMTP id i74mr12815994pfe.211.1554472808603; Fri, 05 Apr 2019 07:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554472808; cv=none; d=google.com; s=arc-20160816; b=KLEWSw6l0u+vI0cvcISvOJ4R/3MUVLVtdP0+th8Xs+X/iFvYtHrcirV7LzOCaS3ixq IuvyPMS03fOMlhSYZ02KBq1PfcM4sAqvHQIhBTcywfDDKi01vQ6gwhxOKEER00AzklBT j73p5VOCRm17IHLQvpiF2QhprjJvifnsCAZ8wDHwbp888/zsFgesjtLNhvWNtB86BObB fLz0vBsY1ESNNnyK6vN64taNyX82HSDzfrjwpCpSAREzhqIkbx6ob+cSJf25NsNMFi4Z VJMpy7wUVLAZBQbgFvtUrbB61HwCZDgxu2QyJtzmFYBgps+kH1wr6Z92xO52orGv92LZ 2aOQ== 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=3db6X/jWyBRTaX3EMZhynDNitLpiflcOW4ty0iWMQ5g=; b=PKOyBQik7mbj1k2wa4XseLRv4fhcT2HF6SAQYn2vUxWiPWjZPWfFSkPcG9r5FPDZSQ 8AtHpog70SZufeaAyrmlatWVZSKqnbpqpqHFMBC+PgbF+T0EGWixjSbpH6NxMOaA6VDJ BNj64nwa6FAyhN03CNHqX5PetlWFt2jEfCXfEmG0TFLrmQZmGaCYfBzZHudwEWjyKbLI DcmoL4NgHXmUKH0TVT2rcnDwHVkO3H5ZykHJKGK1TMX8QGvIDzF+AGH3oJyYjiSKUYd4 k0GkM3T8nnyc00X6WVOgsIaoLI1hmKoCoqarIZdVtL9IgS+impSAhjt+zPOpFOXEEq2Q vA2g== 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.08; Fri, 05 Apr 2019 07:00:08 -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 S1731330AbfDEOAH (ORCPT <rfc822;mike.holmes@linaro.org> + 31 others); Fri, 5 Apr 2019 10:00:07 -0400 Received: from foss.arm.com ([217.140.101.70]:49178 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731264AbfDEOAF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 5 Apr 2019 10:00:05 -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 254AC16A3; Fri, 5 Apr 2019 07:00:05 -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 468553F68F; Fri, 5 Apr 2019 07:00:01 -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 05/21] ARM/io: Remove useless definition of mmiowb() Date: Fri, 5 Apr 2019 14:59:20 +0100 Message-Id: <20190405135936.7266-6-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/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 6b51826ab3d1..7e22c81398c4 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -281,8 +281,6 @@ extern void _memcpy_fromio(void *, const volatile void __iomem *, size_t); extern void _memcpy_toio(volatile void __iomem *, const void *, size_t); extern void _memset_io(volatile void __iomem *, int, size_t); -#define mmiowb() - /* * Memory access primitives * ------------------------
ARM 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/arm/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0