Changeset 77464 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Feb 26, 2019 6:48:27 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129040
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r77367 r77464 1031 1031 && LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) \ 1032 1032 && defined(FAULT_FLAG_REMOTE) 1033 # define GET_USER_PAGES_API KERNEL_VERSION(4, 10, 0) /* no typo! */1034 /* The get_user_pages API change was back-ported to 4.4.168. */1035 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 168) \1036 && LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)1037 1033 # define GET_USER_PAGES_API KERNEL_VERSION(4, 10, 0) /* no typo! */ 1038 1034 #else … … 1120 1116 R3Ptr, /* Where from. */ 1121 1117 cPages, /* How many pages. */ 1122 # if GET_USER_PAGES_API >= KERNEL_VERSION(4, 9, 0) 1118 /* The get_user_pages API change was back-ported to 4.4.168. */ 1119 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 168) \ 1120 && LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) 1123 1121 fWrite ? FOLL_WRITE | /* Write to memory. */ 1124 1122 FOLL_FORCE /* force write access. */
Note:
See TracChangeset
for help on using the changeset viewer.