Changeset 64561 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Nov 4, 2016 12:14:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r62567 r64561 1050 1050 rc = get_user_pages(R3Ptr, /* Where from. */ 1051 1051 cPages, /* How many pages. */ 1052 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) 1053 fWrite ? FOLL_WRITE | /* Write to memory. */ 1054 FOLL_FORCE /* force write access. */ 1055 : 0, /* Write to memory. */ 1056 # else 1052 1057 fWrite, /* Write to memory. */ 1053 1058 fWrite, /* force write access. */ 1059 # endif 1054 1060 &pMemLnx->apPages[0], /* Page array. */ 1055 1061 papVMAs); /* vmas */ … … 1064 1070 R3Ptr, /* Where from. */ 1065 1071 cPages, /* How many pages. */ 1072 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) 1073 fWrite ? FOLL_WRITE | /* Write to memory. */ 1074 FOLL_FORCE /* force write access. */ 1075 : 0, /* Write to memory. */ 1076 # else 1066 1077 fWrite, /* Write to memory. */ 1067 1078 fWrite, /* force write access. */ 1079 # endif 1068 1080 &pMemLnx->apPages[0], /* Page array. */ 1069 1081 papVMAs); /* vmas */ … … 1073 1085 R3Ptr, /* Where from. */ 1074 1086 cPages, /* How many pages. */ 1087 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) 1088 fWrite ? FOLL_WRITE | /* Write to memory. */ 1089 FOLL_FORCE /* force write access. */ 1090 : 0, /* Write to memory. */ 1091 # else 1075 1092 fWrite, /* Write to memory. */ 1076 1093 fWrite, /* force write access. */ 1094 # endif 1077 1095 &pMemLnx->apPages[0], /* Page array. */ 1078 1096 papVMAs); /* vmas */
Note:
See TracChangeset
for help on using the changeset viewer.