Page MenuHomeFreeBSD

D45448.id139601.diff
No OneTemporary

D45448.id139601.diff

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

Mime Type
text/plain
Expires
Mon, Mar 2, 5:49 PM (1 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29165578
Default Alt Text
D45448.id139601.diff (1 KB)

Event Timeline