From: Logan Gunthorpe Date: Tue, 27 Mar 2018 23:08:28 +0000 (-0600) Subject: powerpc: io.h: move iomap.h include so that it can use readq/writeq defs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ef237039c5c86b6587ee1fd88857a24fa5978474;p=linux.git powerpc: io.h: move iomap.h include so that it can use readq/writeq defs 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 Reviewed-by: Andy Shevchenko Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 422f99cf99248..af074923d5989 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