Received: by 10.213.65.68 with SMTP id h4csp474371imn; Fri, 16 Mar 2018 08:52:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELvapIpH9BeCg7rouVNsGAIsFtRrpzyxMatzuU+okoabPI7Tf0WiQnJnYHYkInZ6+HnB0w+y X-Received: by 2002:a17:902:9a91:: with SMTP id w17-v6mr2694048plp.240.1521215525800; Fri, 16 Mar 2018 08:52:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521215525; cv=none; d=google.com; s=arc-20160816; b=iR9cyIh9un6rbqQdbn4gfr7CZY7RhsJoV8cGP4cTbjoKlfkbbcUTQTQya0H9Lhfom/ MrnDyDXOVXhAZvx0kNwiBZulHlhhZ7fbdmYwEzcfjddIk1vrkdB/qX334BmasZ4a/FxX BUUXoI34gZkp5zEbLareY9CGgjnE0H8GC1+oFt+M7g65vm24VB8eq05LoL9jM+GYQnPP 8J3z34iGtq4KoWL14CFawirmkEOpIocC5eN8ijWmfH1JSn3BcDSBYjn6lvPciSkoINxK lzFmG4Z819nlSM/Mzi6A04UwDytSq3B8Y2ITow1oDrPdxNwNCZIv1lm8SBWoqRxWNw6c iViA== 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=Vr9M5BIj+SquP8C1xVwgyxAFyYa8CpK2ZmdzK91xhdY1iBRhLK8bE9a98k+Dfd5tPY NyyCljBEEC2T+HWGFLoTVkPc/xJKA7ea53RCZiIaC+MXbDuaX7iFa4bHzfrMLnJZMB78 aTbCxs7PyZD05Jqye5bgn00FG77rK2wSsO3/ceaDwmejMsXGlAPzY68pivTIfdvw+Ceg f5U3xp77pj6r3mjjQSPbsS2x+xqy1tH888HCdxt3GFHEyRFOcI9BdT2vqnPzD7Ruiv8T yLjP8bj4MVvjp1CdrAG2Z5Nrf9cii6UDlV1B6fJ4WRjYHVntgPz+lYW3qArlEmEdClJE ur7A== 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 o61-v6si6252771pld.692.2018.03.16.08.51.51; Fri, 16 Mar 2018 08:52:05 -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 S934586AbeCPPu2 (ORCPT + 99 others); Fri, 16 Mar 2018 11:50:28 -0400 Received: from ale.deltatee.com ([207.54.116.67]:54596 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965228AbeCPPtF (ORCPT ); Fri, 16 Mar 2018 11:49:05 -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 1ewrbK-0003pc-JG; Fri, 16 Mar 2018 09:49:04 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.89) (envelope-from ) id 1ewrbF-0003Ry-Gh; Fri, 16 Mar 2018 09:48:57 -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: Fri, 16 Mar 2018 09:48:46 -0600 Message-Id: <20180316154852.13206-4-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180316154852.13206-1-logang@deltatee.com> References: <20180316154852.13206-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=-6.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, MYRULES_NO_TEXT,T_RP_MATCHES_RCVD autolearn=no autolearn_force=no version=3.4.1 Subject: [PATCH v12 3/9] 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