Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177726629
D58299.1795140380.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
863 B
Referenced Files
None
Subscribers
None
D58299.1795140380.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,13 +72,14 @@
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) atop(VM_PAGE_TO_PHYS(pp))
#define pfn_to_page(pfn) PHYS_TO_VM_PAGE(ptoa(pfn))
-#define nth_page(page,n) pfn_to_page(page_to_pfn(page) + (n))
#define page_to_phys(page) VM_PAGE_TO_PHYS(page)
+#define page_to_virt(page) linux_page_address(page)
+#define nth_page(page,n) pfn_to_page(page_to_pfn(page) + (n))
+
#define pgprot_noncached(prot) \
(((prot) & VM_PROT_ALL) | cachemode2protval(VM_MEMATTR_UNCACHEABLE))
#ifdef VM_MEMATTR_WRITE_COMBINING
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 20, 2:06 AM (1 m, 31 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41857401
Default Alt Text
D58299.1795140380.diff (863 B)
Attached To
Mode
D58299: LinuxKPI: page.h: resort lines
Attached
Detach File
Event Timeline