Commit a68f3768 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Ralf Baechle

MIPS: io.h: Define `ioremap_cache'

Signed-off-by: default avatarMaciej W. Rozycki <macro@imgtec.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12040/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 800dc4f4
...@@ -275,6 +275,7 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si ...@@ -275,6 +275,7 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si
*/ */
#define ioremap_cachable(offset, size) \ #define ioremap_cachable(offset, size) \
__ioremap_mode((offset), (size), _page_cachable_default) __ioremap_mode((offset), (size), _page_cachable_default)
#define ioremap_cache ioremap_cachable
/* /*
* These two are MIPS specific ioremap variant. ioremap_cacheable_cow * These two are MIPS specific ioremap variant. ioremap_cacheable_cow
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment