[PATCH] ia64: define ioremap_uc()

Luis R. Rodriguez
2016-03-07T20:34:54Z

All architectures now need ioremap_uc(), ia64 seems defines
this already through its ioremap_nocache() and it already
ensures it *only* uses UC.

Reported-by: 0 day bot
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
---

Note, this is actually needed since v4.3 to complete an allyesconfig
compile on ia64, there were others archs that needed this, and this
one just seems to have fallen through the cracks.

arch/ia64/include/asm/io.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h
index a865d2a04f75..5de673ac9cb1 100644
--- a/arch/ia64/include/asm/io.h
+++ b/arch/ia64/include/asm/io.h
@@ -433,6 +433,7 @@ static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned lo
return ioremap(phys_addr, size);
}
#define ioremap_cache ioremap_cache
+#define ioremap_uc ioremap_nocache

/*
--
2.7.2