Received: by 10.213.65.68 with SMTP id h4csp870563imn; Thu, 22 Mar 2018 10:20:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELt7WOOZ716v/bXLSrDzrWfIUlfkg82/nOb6do3gH/hqp3Zi2j9GV8Th06vBEh9cuMpEjD3F X-Received: by 10.99.119.15 with SMTP id s15mr18768113pgc.211.1521739255844; Thu, 22 Mar 2018 10:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521739255; cv=none; d=google.com; s=arc-20160816; b=X7gzkd18oXs+ScbnJChrXPOlth4+10/Qa/VDWgzpkowovJ5YVYJK0/ksY/pl9P4BPG gsxbfeNoM+a9DWyKw1TMsGvJqxIdiGQiaLeJGOcOAM9RvsajikHgiDW12yTj+SIrJZA5 3J18I8zlGXxlTRUOcz6nwD32OpeXbpT1bldMKo+wyo1JAV3IOxdu7Pl6WT9KxFg83zEk BegBdBgExQ52mO5BZUMq/NaT/8bFEEu7diDbArvLx6TUZbD1km2VMdBdNvbs8So5gO0W V3cM7gz76NZvDpL+GMzyGxxXgapAgkMDBP123h8NZBhjyv9Pn9M0rqAtL//l6Wf/gwaY jMhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=ZResSvF71S4b9JnFuePZhxuGdTdkgn2/HrjfNWEuCO4=; b=OVy0h47IH1FBLkJRQHWGvEfRBltQAngcvWyPsaVweCzZ5M6rhCP2Qlm6WM6FWk2vEi WpfgyCFDoniSt4VsDJvRe+T1loFQ8GkUzrLBLMQ7rbG+6sSnIcnO4mEAtSYTYIqPUJIp 4vU2HgieX5JpaBCO9pieWcG9dq8ur1PmqkkvL1NJxG7kmlfB2VOgx1K6XwKgr9aPRPzc jS2AGHL26pRzBgCedd3e9mrDA08WpkDyRX9hPTlh8uVypUeBbIT/86zacxxOBIzo4WKs K9ezHjvE4I31Ak6TBT99VM8YZuKdwSAy6Boou0QF7F3gx/GHQsv1ZoLxLR8acxri6lvp XtpA== 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 n3-v6si7015889pld.85.2018.03.22.10.20.41; Thu, 22 Mar 2018 10:20:55 -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 S1751997AbeCVRRV (ORCPT + 99 others); Thu, 22 Mar 2018 13:17:21 -0400 Received: from ale.deltatee.com ([207.54.116.67]:35170 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbeCVRRN (ORCPT ); Thu, 22 Mar 2018 13:17:13 -0400 Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ez3pu-00073I-U0; Thu, 22 Mar 2018 11:17:12 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.89) (envelope-from ) id 1ez3pq-00018O-Q7; Thu, 22 Mar 2018 11:17:06 -0600 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-ntb@googlegroups.com, linux-crypto@vger.kernel.org, Greg Kroah-Hartman Cc: Arnd Bergmann , Andy Shevchenko , =?UTF-8?q?Horia=20Geant=C4=83?= , Logan Gunthorpe , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Nicholas Piggin , Suresh Warrier , "Oliver O'Halloran" Date: Thu, 22 Mar 2018 11:16:57 -0600 Message-Id: <20180322171703.4300-5-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180322171703.4300-1-logang@deltatee.com> References: <20180322171703.4300-1-logang@deltatee.com> X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-crypto@vger.kernel.org, gregkh@linuxfoundation.org, arnd@arndb.de, horia.geanta@nxp.com, logang@deltatee.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, warrier@linux.vnet.ibm.com, andy.shevchenko@gmail.com, npiggin@gmail.com, oohall@gmail.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE,MYRULES_NO_TEXT,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 Subject: [PATCH v14 04/10] powerpc: io.h: move iomap.h include so that it can use readq/writeq defs X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Subsequent patches in this series makes use of the readq and writeq defines in iomap.h. However, as is, they get missed on the powerpc platform seeing the include comes before the define. This patch moves the include down to fix this. Signed-off-by: Logan Gunthorpe Acked-by: Michael Ellerman Reviewed-by: Andy Shevchenko Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Suresh Warrier Cc: "Oliver O'Halloran" --- arch/powerpc/include/asm/io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 422f99cf9924..af074923d598 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h @@ -33,8 +33,6 @@ extern struct pci_dev *isa_bridge_pcidev; #include #include -#include - #ifdef CONFIG_PPC64 #include #endif @@ -663,6 +661,8 @@ static inline void name at \ #define writel_relaxed(v, addr) writel(v, addr) #define writeq_relaxed(v, addr) writeq(v, addr) +#include + #ifdef CONFIG_PPC32 #define mmiowb() #else -- 2.11.0