ia64: Define ioremap_uc and ioremap_wc
PATCH 1/1 ia64: Define ioremap_uc and ioremap_wc
Commit 3cc2dac5be3f ("drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC") introduces calls to ioremap_wc and ioremap_uc. This causes build failures with ia64:allmodconfig. Map the missing functions to ioremap_nocache.
Fixes 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
Replace MTRR UC hole with strong UC")
Cc Paul Gortmaker <[email protected]>
Cc Luis R. Rodriguez <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- arch/ia64/include/asm/io.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/ia64/include/asm/io.h +2 -1
@@ -426,6 +426,8 @@ __writeq (unsigned long val, volatile void __iomem *addr)extern void __iomem *ioremap (unsigned long offset,unsigned long size);extern void __iomem *ioremap_nocache (unsigned long offset,unsigned long size); +#define ioremap_wc ioremap_nocache +#define ioremap_uc ioremap_nocacheextern void iounmap (volatile void __iomem *addr);extern void __iomem *early_ioremap (unsigned long phys_addr,unsigned long size);#define early_memremap (phys_addr, size) early_ioremap(phys_addr, size)
@@ -436,7 +438,6 @@ static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned loreturn ioremap (phys_addr, size); } -/* * String version of IO memory access ops: */
Signature · 1 line
2.1.4