Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146320979
D45448.id139601.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D45448.id139601.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h
--- a/sys/compat/linuxkpi/common/include/linux/gfp.h
+++ b/sys/compat/linuxkpi/common/include/linux/gfp.h
@@ -84,15 +84,6 @@
int pagecnt_bias;
};
-/*
- * Resolve a page into a virtual address:
- *
- * NOTE: This function only works for pages allocated by the kernel.
- */
-void *linux_page_address(struct page *);
-
-#define page_address(page) linux_page_address(page)
-
/*
* Page management for unmapped pages:
*/
diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h
--- a/sys/compat/linuxkpi/common/include/linux/mm.h
+++ b/sys/compat/linuxkpi/common/include/linux/mm.h
@@ -178,6 +178,14 @@
return (order);
}
+/*
+ * Resolve a page into a virtual address:
+ *
+ * NOTE: This function only works for pages allocated by the kernel.
+ */
+void *linux_page_address(struct page *);
+#define page_address(page) linux_page_address(page)
+
static inline void *
lowmem_page_address(struct page *page)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 2, 5:38 PM (1 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29165578
Default Alt Text
D45448.id139601.diff (1 KB)
Attached To
Mode
D45448: LinuxKPI: Move page_address definition from linux/gfp.h to linux/mm.h
Attached
Detach File
Event Timeline
Log In to Comment