Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143751236
D42264.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
529 B
Referenced Files
None
Subscribers
None
D42264.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/dma-mapping.h b/sys/compat/linuxkpi/common/include/linux/dma-mapping.h
--- a/sys/compat/linuxkpi/common/include/linux/dma-mapping.h
+++ b/sys/compat/linuxkpi/common/include/linux/dma-mapping.h
@@ -351,7 +351,7 @@
#define dma_unmap_len(p, name) ((p)->name)
#define dma_unmap_len_set(p, name, v) (((p)->name) = (v))
-#define dma_get_cache_alignment() uma_get_cache_align_mask()
+#define dma_get_cache_alignment() (uma_get_cache_align_mask() + 1)
static inline int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 11:01 AM (14 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28348609
Default Alt Text
D42264.diff (529 B)
Attached To
Mode
D42264: linuxkpi: dma_get_cache_alignment(): Fix off-by-one result
Attached
Detach File
Event Timeline
Log In to Comment