From patchwork Fri Mar 1 14:03:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 159484 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp769299jad; Fri, 1 Mar 2019 06:04:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IZEFXVHZlq9vRbeVHtsuzdLPLcHDQEOd+f4R2HYXyUGRKhXTy3Im9y/Phr58jRV4sJOvt0v X-Received: by 2002:aa7:8299:: with SMTP id s25mr5736605pfm.56.1551449060530; Fri, 01 Mar 2019 06:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551449060; cv=none; d=google.com; s=arc-20160816; b=YwCB/B0ORXNgm5OKNidH9wyp41Miiwt3kYS7uSqmH68YFzhpPfMj7Dj3/St1aQx04i OVNBTdBr5eEWw1xHUrYGFwWwNvNgjtWNE3v898d6hIci53K/UAl2xEmpnwOOfTOMqFcH cdNvVppxodAf/Lcm6GSZGS9AWG4W3U7ij+1EdqA8j86bG/yIH+x1Ob56GBccYAkY2N4S 3187vLXm2qBc44LiBInSWTvTCM7FMHEHOwU/2G9XSF60MSZ3yO98D3u6tHy3p4sRs14Q 6U3TKGiVhRE7V/cVK3YWsFKIp5D9fETNHJ10Wpj+Mbn1QXbYWkYtPicRSlOvMWiHLhHI kQ+A== 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=K8KNYYADNriQsKhmn0Qy2GY9m9BC4LTtmAig1lSo5jevb0ciIaRj6WRNEb0bzIl1r4 YRC5+CthmPAD0s9C54Rbq415IFDg0VwODObEDUn8tgLV52KO/PZYTXq1+XBRhPtleON6 KmYVup1kDMNRNV5nwzHhYKujGRydCUA254FQ0gyUTJVuB6OymArOjgPy6Otp9QjsYqW9 FzkF7B4vPy6JI39odJ4X8I07vcUF14Tt+s4MKPjgCB/42TAu7f3eHiHgprWgcaTV1olL DNpdPGi+26XozTPhFIyfyigN05seouhKbGoCIoDpLEHRBdWVcxHvHfsY+tGbM/mamh3S bVZA== 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 n20si20595447pfi.226.2019.03.01.06.04.20; Fri, 01 Mar 2019 06:04:20 -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 S2388425AbfCAOES (ORCPT + 31 others); Fri, 1 Mar 2019 09:04:18 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35626 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733126AbfCAOEQ (ORCPT ); Fri, 1 Mar 2019 09:04:16 -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 C6334174E; Fri, 1 Mar 2019 06:04:15 -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 81D8A3F720; Fri, 1 Mar 2019 06:04:12 -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 04/20] ARM/io: Remove useless definition of mmiowb() Date: Fri, 1 Mar 2019 14:03:32 +0000 Message-Id: <20190301140348.25175-5-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 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 --- arch/arm/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0 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 * ------------------------