summaryrefslogtreecommitdiffstats
path: root/kernel/include/asm-generic/iomap.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/asm-generic/iomap.h')
-rw-r--r--kernel/include/asm-generic/iomap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/include/asm-generic/iomap.h b/kernel/include/asm-generic/iomap.h
index 1b4101164..d8f8622fa 100644
--- a/kernel/include/asm-generic/iomap.h
+++ b/kernel/include/asm-generic/iomap.h
@@ -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;