Page MenuHomeFreeBSD

D37916.diff
No OneTemporary

D37916.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/io.h b/sys/compat/linuxkpi/common/include/linux/io.h
--- a/sys/compat/linuxkpi/common/include/linux/io.h
+++ b/sys/compat/linuxkpi/common/include/linux/io.h
@@ -424,7 +424,7 @@
#else
#define ioremap_wc(addr, size) ioremap_nocache(addr, size)
#endif
-#define ioremap_wb(addr, size) \
+#define ioremap_cache(addr, size) \
_ioremap_attr((addr), (size), VM_MEMATTR_WRITE_BACK)
void iounmap(void *addr);
@@ -496,7 +496,7 @@
void *addr = NULL;
if ((flags & MEMREMAP_WB) &&
- (addr = ioremap_wb(offset, size)) != NULL)
+ (addr = ioremap_cache(offset, size)) != NULL)
goto done;
if ((flags & MEMREMAP_WT) &&
(addr = ioremap_wt(offset, size)) != NULL)

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 1:22 AM (21 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14668672
Default Alt Text
D37916.diff (743 B)

Event Timeline