Skip to contentSkip to conversation

MIPS: io: Define ioremap_uc

PATCH Applied Ben Hutchings 2 participants 2 messages Oct 5, 2015 – Oct 6, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: io: Define ioremap_uc

All architectures must now define ioremap_uc(), but MIPS currently only has ioremap_nocache().

Fixes 4c73e8926623 ("arch/*/io.h: Add ioremap_uc() to all architectures")
Cc Luis R. Rodriguez <[email protected]>
---
 arch/mips/include/asm/io.h | 1 +
 1 file changed, 1 insertion(+)
arch/mips/include/asm/io.h +1 -0
index 9e777cd..d10fd80 100644
@@ -256,6 +256,7 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si
  */
 #define ioremap_nocache(offset, size)					\
 	__ioremap_mode((offset), (size), _CACHE_UNCACHED)
+#define ioremap_uc ioremap_nocache
 
 /*
  * ioremap_cachable -	map bus memory into CPU space
Signature · 2 lines
Ben Hutchings
All the simple programs have been written, and all the good names taken.
Applied
#1 lore raw
Quoted 6 lines · Ben Hutchings

All architectures must now define ioremap_uc(), but MIPS currently only has ioremap_nocache().

Fixes 4c73e8926623 ("arch/*/io.h: Add ioremap_uc() to all architectures")
Cc Luis R. Rodriguez <[email protected]>

Applied.

Thanks!

Ralf