|
@@ -3,6 +3,8 @@
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
+#define ARCH_HAS_IOREMAP_WT
|
|
|
+
|
|
|
#include <asm/virtconvert.h>
|
|
|
#include <asm-generic/iomap.h>
|
|
|
|
|
@@ -157,6 +159,10 @@ static inline void *ioremap_writethrough(unsigned long physaddr, unsigned long s
|
|
|
{
|
|
|
return __ioremap(physaddr, size, IOMAP_WRITETHROUGH);
|
|
|
}
|
|
|
+static inline void *ioremap_wt(unsigned long physaddr, unsigned long size)
|
|
|
+{
|
|
|
+ return __ioremap(physaddr, size, IOMAP_WRITETHROUGH);
|
|
|
+}
|
|
|
static inline void *ioremap_fullcache(unsigned long physaddr, unsigned long size)
|
|
|
{
|
|
|
return __ioremap(physaddr, size, IOMAP_FULL_CACHING);
|