From patchwork Fri Feb 22 18:50:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 159058 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2070194jaa; Fri, 22 Feb 2019 10:51:06 -0800 (PST) X-Google-Smtp-Source: AHgI3IaLlgTkxP5nPk6vpBNYKgXo3dSCRCygmnvRMpEbsNpfdFHo3Gm5+i8LYiJBjZUvuqMP62Gg X-Received: by 2002:a63:f310:: with SMTP id l16mr5299848pgh.72.1550861466074; Fri, 22 Feb 2019 10:51:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550861466; cv=none; d=google.com; s=arc-20160816; b=gG4NAKs+rTw9rpMCeIhsOW5oIyHpHIdUb2brjSLo2HbWsNuXa8aE9dCoPND3E0L2L2 Jfqa91+hABvc/9sap18jlWbyFkXyxYSXx/fLPqdbRMLzTh7kyhNQDqTnYQX/akfKx9zo 5bkH8QksLAHp7vgxm+kkF/oDzGrQTEmjW6gsfQPQFS89Jik00IOVzXl40x2DqN6UUzms wd6UgBLZS5YfJGpgmdzKDxAvzEzlDrXtZf07SXLrdNRQwQITdLufSiwU6YAeSXUQz66V nVHA4AyYNf8uB2eogtjSY4kbAXA7o+fO49rFM0TJANa0ZOdlI5fH6s7MABeRvjv1Yo+w ngnQ== 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=0ffctSqeHYA8GxAp+larDjegQ49SZV1G4qGl03AaDrE=; b=LpGugMqCZPVAI5GYrxlK/fmGQ0u9qYRFIxw3yyxGchwVw2QAw/wOoocKGFZYGxY7Kq qA7ovedmD7OWzKHndxr23bAZBxjaqZ78u+KKRauisTrBLNVAfJoXiP7hbM0azX3aFHPz VsUmZy+W0s1/5bK8jdx/z7U/WzMZ+/px/jEwG8t/fYDJC70ogrume0ddxJcVtnUtHOdC D1s3c5EQsglAaB97/vCh6UhtxA/4ENS5yBOPKmT7Pk/HIfL2NbnApvHaqQXDs2thDSnO c+EERGTfKxYbIKb2tV5aFvU0YQAhcXjtwHh11whDVjFAXG8vlQYDP5Qw8HU3L/CEVnGA PgfQ== 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 go21si1928930plb.368.2019.02.22.10.51.05; Fri, 22 Feb 2019 10:51:06 -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 S1727439AbfBVSvE (ORCPT + 32 others); Fri, 22 Feb 2019 13:51:04 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:39330 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbfBVSvD (ORCPT ); Fri, 22 Feb 2019 13:51:03 -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 2213980D; Fri, 22 Feb 2019 10:51:03 -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 AF83E3F5C1; Fri, 22 Feb 2019 10:50:59 -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 , Geert Uytterhoeven Subject: [RFC PATCH 08/20] m68k: io: Remove useless definition of mmiowb() Date: Fri, 22 Feb 2019 18:50:14 +0000 Message-Id: <20190222185026.10973-9-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190222185026.10973-1-will.deacon@arm.com> References: <20190222185026.10973-1-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org m68k 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. Cc: Geert Uytterhoeven Signed-off-by: Will Deacon --- arch/m68k/include/asm/io_mm.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0 Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven diff --git a/arch/m68k/include/asm/io_mm.h b/arch/m68k/include/asm/io_mm.h index 782b78f8a048..6c03ca5bc436 100644 --- a/arch/m68k/include/asm/io_mm.h +++ b/arch/m68k/include/asm/io_mm.h @@ -377,8 +377,6 @@ static inline void isa_delay(void) #define writesw(port, buf, nr) raw_outsw((port), (u16 *)(buf), (nr)) #define writesl(port, buf, nr) raw_outsl((port), (u32 *)(buf), (nr)) -#define mmiowb() - #ifndef CONFIG_SUN3 #define IO_SPACE_LIMIT 0xffff #else