]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mips: remove ioremap_cachable
authorChristoph Hellwig <hch@lst.de>
Sat, 17 Aug 2019 07:32:31 +0000 (09:32 +0200)
committerPaul Burton <paul.burton@mips.com>
Sat, 31 Aug 2019 16:12:26 +0000 (17:12 +0100)
Just define ioremap_cache directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Guo Ren <guoren@kernel.org>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: linux-mips@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/io.h

index d58ff222973838d15bbaacca0bf77e1d05ed6033..2b7b5673637278d210f5a817e7d6dcf44b7cea23 100644 (file)
@@ -252,11 +252,11 @@ static inline void __iomem *ioremap_prot(phys_addr_t offset,
 #define ioremap_uc ioremap_nocache
 
 /*
- * ioremap_cachable -  map bus memory into CPU space
+ * ioremap_cache -     map bus memory into CPU space
  * @offset:        bus address of the memory
  * @size:          size of the resource to map
  *
- * ioremap_nocache performs a platform specific sequence of operations to
+ * ioremap_cache performs a platform specific sequence of operations to
  * make bus memory CPU accessible via the readb/readw/readl/writeb/
  * writew/writel functions and the other mmio helpers. The returned
  * address is not guaranteed to be usable directly as a virtual
@@ -266,9 +266,8 @@ static inline void __iomem *ioremap_prot(phys_addr_t offset,
  * the CPU.  Also enables full write-combining.         Useful for some
  * memory-like regions on I/O busses.
  */
-#define ioremap_cachable(offset, size)                                 \
+#define ioremap_cache(offset, size)                                    \
        __ioremap_mode((offset), (size), _page_cachable_default)
-#define ioremap_cache ioremap_cachable
 
 /*
  * ioremap_wc     -   map bus memory into CPU space