Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160319737
D45843.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D45843.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/page.h b/sys/compat/linuxkpi/common/include/linux/page.h
--- a/sys/compat/linuxkpi/common/include/linux/page.h
+++ b/sys/compat/linuxkpi/common/include/linux/page.h
@@ -72,6 +72,7 @@
return (VM_MEMATTR_DEFAULT);
}
+#define page_to_virt(page) linux_page_address(page)
#define virt_to_page(x) PHYS_TO_VM_PAGE(vtophys(x))
#define page_to_pfn(pp) (VM_PAGE_TO_PHYS(pp) >> PAGE_SHIFT)
#define pfn_to_page(pfn) (PHYS_TO_VM_PAGE((pfn) << PAGE_SHIFT))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 5:54 AM (6 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34275608
Default Alt Text
D45843.diff (509 B)
Attached To
Mode
D45843: LinuxKPI: Add page_to_virt function
Attached
Detach File
Event Timeline
Log In to Comment