]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/io.h
[MTD] jedec_probe: Fix SST 16-bit chip detection
[linux-2.6-omap-h63xx.git] / include / asm-mips / io.h
index 2cd8323c8586f47d440aca4d72901478d9a21754..f18d2816cbecd256a98f4b904614eba0c42ab1d6 100644 (file)
@@ -273,7 +273,7 @@ static inline void __iomem * __ioremap_mode(phys_t offset, unsigned long size,
  * memory-like regions on I/O busses.
  */
 #define ioremap_cachable(offset, size)                                 \
-       __ioremap_mode((offset), (size), PAGE_CACHABLE_DEFAULT)
+       __ioremap_mode((offset), (size), _page_cachable_default)
 
 /*
  * These two are MIPS specific ioremap variant.  ioremap_cacheable_cow
@@ -554,6 +554,8 @@ static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int
  *    caches.  Dirty lines of the caches may be written back or simply
  *    be discarded.  This operation is necessary before dma operations
  *    to the memory.
+ *
+ * This API used to be exported; it now is for arch code internal use only.
  */
 #ifdef CONFIG_DMA_NONCOHERENT