Commit 78865428 authored by Serge Semin's avatar Serge Semin Committed by Paul Burton

mips: mm: Discard ioremap_cacheable_cow() method

This macro substitution is the shortcut to map cacheable IO memory
with coherent and write-back attributes. Since it is entirely unused
by kernel, lets just remove it.
Signed-off-by: default avatarSerge Semin <fancer.lancer@gmail.com>
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Suggested-by: default avatarChristoph Hellwig <hch@infradead.org>
Patchwork: https://patchwork.linux-mips.org/patch/19937/
CC: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Sinan Kaya <okaya@codeaurora.org>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Sergey.Semin@t-platforms.ru
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
parent 1ae22a0e
...@@ -300,13 +300,6 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si ...@@ -300,13 +300,6 @@ static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long si
#define ioremap_wc(offset, size) \ #define ioremap_wc(offset, size) \
__ioremap_mode((offset), (size), boot_cpu_data.writecombine) __ioremap_mode((offset), (size), boot_cpu_data.writecombine)
/*
* This is a MIPS specific ioremap variant. ioremap_cacheable_cow
* requests a cachable mapping with CWB attribute enabled.
*/
#define ioremap_cacheable_cow(offset, size) \
__ioremap_mode((offset), (size), _CACHE_CACHABLE_COW)
static inline void iounmap(const volatile void __iomem *addr) static inline void iounmap(const volatile void __iomem *addr)
{ {
if (plat_iounmap(addr)) if (plat_iounmap(addr))
......
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