Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157739309
D14043.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
581 B
Referenced Files
None
Subscribers
None
D14043.id.diff
View Options
Index: head/sys/compat/linuxkpi/common/src/linux_page.c
===================================================================
--- head/sys/compat/linuxkpi/common/src/linux_page.c
+++ head/sys/compat/linuxkpi/common/src/linux_page.c
@@ -69,7 +69,8 @@
if (page->object != kmem_object && page->object != kernel_object) {
return (PMAP_HAS_DMAP ?
- ((void *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(page))) : NULL);
+ ((void *)(uintptr_t)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(page))) :
+ NULL);
}
return ((void *)(uintptr_t)(VM_MIN_KERNEL_ADDRESS +
IDX_TO_OFF(page->pindex)));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 25, 5:09 PM (5 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33512350
Default Alt Text
D14043.id.diff (581 B)
Attached To
Mode
D14043: Minimal change to build linuxkpi on architectures with physical addresses larger than virtual
Attached
Detach File
Event Timeline
Log In to Comment