From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AG47ELvspHQqTlMxTWBav38eApqVwKLoGS8sQf03cEKzGy63/kNI+yiznNS3hv1GiZ7N0LmJvVFP ARC-Seal: i=1; a=rsa-sha256; t=1522192131; cv=none; d=google.com; s=arc-20160816; b=tSiGFGMFzB+7nuL7S49NStPrIOmnsZlWcty8ATYA/Ze/ZkUVdR7zhw2ie7se3OGKSf g1wHVNcyTI8TSNENqSKVLNNcoBP7IVyY+8ZYNq9z/SUjVA1FjQqEb+0lCl2xfPbuJ9hv aAAZdDpqGpchdb3Aa9pDGnNlpSTMFSeNb999d9AYO2sUalITiF0fjPf2Osa86VZkgQPd JHg6rOp0IELn1hhuix+dzBRnIM7wmwe369V2WqH90ywoIBECFLVi6z3JtbgmY0mfVbAg yH7Nj5H8UQ95zmBmqER4oIXneNmrvYvyxwlpW1GgbXZknBni9Ztuhc3fKhIg2x6lvYrS QJMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:references:in-reply-to:message-id:date:cc:to:from :arc-authentication-results; bh=ZResSvF71S4b9JnFuePZhxuGdTdkgn2/HrjfNWEuCO4=; b=vZd3cxzqTTamex8Utem5srbw/G16DjHPiZs2239SXkIfrB/D0A+o2IqLtyiUYh9ErS 3m62dCvP7148ecHcVTF59ZdQVxzGZOMO+BCF3NqCuTHxui3eqMM+FibuN4OgAyqjyHRR Aw5lq/02MvTJP+DYKQTGH3ckGU22pzhm3BLD95rWvS8NHJvs5s3sO+cTonVGYj7XdM5T 4igSLekZWW0x1rQV8E9gyM5Mr77iEpUtovZ9PvB+JbLyF/y4wKw5t0LbTO2AlFpIvaJu KiNy3qA2Hd2TPNBt+Ak7sCnDY0GypPIMdzDJ/n+6/6wr5PqPnKmkSwtLflsBh2uaCcQL GVhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gunthorp@deltatee.com designates 207.54.116.67 as permitted sender) smtp.mailfrom=gunthorp@deltatee.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of gunthorp@deltatee.com designates 207.54.116.67 as permitted sender) smtp.mailfrom=gunthorp@deltatee.com 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: Tue, 27 Mar 2018 17:08:28 -0600 Message-Id: <20180327230834.5931-4-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180327230834.5931-1-logang@deltatee.com> References: <20180327230834.5931-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 Subject: [PATCH v15 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) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1596134136077631109?= X-GMAIL-MSGID: =?utf-8?q?1596134136077631109?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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