Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108566996
D45850.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
D45850.diff
View Options
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
@@ -276,12 +276,14 @@
}
extern long
-get_user_pages(unsigned long start, unsigned long nr_pages,
- unsigned int gup_flags, struct page **,
- struct vm_area_struct **);
+lkpi_get_user_pages(unsigned long start, unsigned long nr_pages,
+ unsigned int gup_flags, struct page **);
#if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION >= 60500
#define get_user_pages(start, nr_pages, gup_flags, pages) \
- get_user_pages(start, nr_pages, gup_flags, pages, NULL)
+ lkpi_get_user_pages(start, nr_pages, gup_flags, pages)
+#else
+#define get_user_pages(start, nr_pages, gup_flags, pages, vmas) \
+ lkpi_get_user_pages(start, nr_pages, gup_flags, pages)
#endif
#if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION >= 60500
diff --git a/sys/compat/linuxkpi/common/src/linux_page.c b/sys/compat/linuxkpi/common/src/linux_page.c
--- a/sys/compat/linuxkpi/common/src/linux_page.c
+++ b/sys/compat/linuxkpi/common/src/linux_page.c
@@ -277,8 +277,8 @@
}
long
-get_user_pages(unsigned long start, unsigned long nr_pages,
- unsigned int gup_flags, struct page **pages, struct vm_area_struct **vmas)
+lkpi_get_user_pages(unsigned long start, unsigned long nr_pages,
+ unsigned int gup_flags, struct page **pages)
{
vm_map_t map;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 10:31 AM (3 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16194274
Default Alt Text
D45850.diff (1 KB)
Attached To
Mode
D45850: LinuxKPI: Remove vmas argument from get_user_pages on KBI layer
Attached
Detach File
Event Timeline
Log In to Comment