Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102700867
D37916.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
743 B
Referenced Files
None
Subscribers
None
D37916.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D37916: linuxkpi: Define `ioremap_cache()`
Attached
Detach File
Event Timeline
Log In to Comment