x86/mm, asm-generic: Add ioremap_wt() for creating Write-Through mappings
[firefly-linux-kernel-4.4.55.git] / include / asm-generic / iomap.h
index 1b41011643a5ebb694742f7a11ba6c54bba35a16..d8f8622fa044dbaeba223bc373f57dad5dac6070 100644 (file)
@@ -66,6 +66,10 @@ extern void ioport_unmap(void __iomem *);
 #define ioremap_wc ioremap_nocache
 #endif
 
+#ifndef ARCH_HAS_IOREMAP_WT
+#define ioremap_wt ioremap_nocache
+#endif
+
 #ifdef CONFIG_PCI
 /* Destroy a virtual mapping cookie for a PCI BAR (memory or IO) */
 struct pci_dev;