Received: by 10.213.65.68 with SMTP id h4csp1398401imn; Wed, 21 Mar 2018 09:42:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELvUbR7WxL/Iw/thr+POdlKn+wLLgNwSsho9Gkqyoml0UiOtc69hjtsMcyVI7e7jXkqXO9DG X-Received: by 2002:a17:902:4003:: with SMTP id b3-v6mr16613968pld.15.1521650542520; Wed, 21 Mar 2018 09:42:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521650542; cv=none; d=google.com; s=arc-20160816; b=bbNj+yFjc27eOlKw0wh9uWzjRYwTT8DpQpsApCURynLdJ93/k3Gb2oCKwkqFAqoIow GF5CwAhRBDLrLOFqBqYEkam9mri5TTS/rtjdhnY6M5TLVo1bInU5edfFZxmjJ4rKS1K4 mA7KfH8qEO0nGwURZ8ScHjkw/FuomcobzZqkyotaMRydyEQVSh2G8rZoz1SiwTj/oFH2 UkOVMxNNWc0ZUBrKZNj6d3EBhKzt15ZoGSW0xhIEL85a84S8ZldJZLnRWoNaLhwNV0cD WwvF+NTswyCHTCjP4kfpktWvkIMyXspHC71DYSmatqhlCYk7N6O3LaLR0qIdxhGAi1Kz Q+sw== 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=EsYjdrNK0BuON536szNEgHX6wdS19QKqczriNn2j47Kg+d7cGyajRTesxCWbcRIawj KGWv4A3zJIblUGjazRk9mixteRJXwg7lFT1iwF/Zt+4R54/gAAP4bEbGk0zNEwW8867u cJyJEhoyyC3SNLMjJ3kp6dyr9yQ2FYWKWalOJdTPE8LCXGvCgUfcVa9oX6bPGjq7+Rcz pVPeNDXsZjeQfXZJeB8a1QFWopZczp6VNtl+u4H63NQ4tcwancvYr97lNHIv8ZWiWBzQ QtA7ahtXv5g5MKiEdFrWiBHPZhs/q1INMx3YZ9LynOMd8Pyzji95HcTOGMSgh563vqfB ENyg== 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 f89si3321820pfe.185.2018.03.21.09.42.07; Wed, 21 Mar 2018 09:42:22 -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 S1753150AbeCUQiv (ORCPT + 99 others); Wed, 21 Mar 2018 12:38:51 -0400 Received: from ale.deltatee.com ([207.54.116.67]:56600 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832AbeCUQhz (ORCPT ); Wed, 21 Mar 2018 12:37:55 -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 1eygkL-0007W1-Ut; Wed, 21 Mar 2018 10:37:55 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.89) (envelope-from ) id 1eygkG-0003DC-Lr; Wed, 21 Mar 2018 10:37:48 -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: Wed, 21 Mar 2018 10:37:39 -0600 Message-Id: <20180321163745.12286-5-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180321163745.12286-1-logang@deltatee.com> References: <20180321163745.12286-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 v13 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