diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-08 21:05:31 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-23 19:44:21 -0500 |
commit | a68f376844605399cbd28b662d5ed213639f46f7 (patch) | |
tree | 63258b0bec27899d6281ae14f10e8bb7097907d4 | |
parent | 800dc4f49cc002879e1e5e6b79926f86b60528e6 (diff) |
MIPS: io.h: Define `ioremap_cache'
Signed-off-by: Maciej 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: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/include/asm/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index d10fd80dbb7e..2b4dc7ad53b8 100644 --- a/arch/mips/include/asm/io.h +++ b/arch/mips/include/asm/io.h | |||
@@ -275,6 +275,7 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si | |||
275 | */ | 275 | */ |
276 | #define ioremap_cachable(offset, size) \ | 276 | #define ioremap_cachable(offset, size) \ |
277 | __ioremap_mode((offset), (size), _page_cachable_default) | 277 | __ioremap_mode((offset), (size), _page_cachable_default) |
278 | #define ioremap_cache ioremap_cachable | ||
278 | 279 | ||
279 | /* | 280 | /* |
280 | * These two are MIPS specific ioremap variant. ioremap_cacheable_cow | 281 | * These two are MIPS specific ioremap variant. ioremap_cacheable_cow |