Changeset 22617 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Aug 31, 2009 4:15:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r22616 r22617 1268 1268 } 1269 1269 rc = fixPte(pTask->mm, ulAddrCur, Phys); 1270 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) || defined(HAVE_26_STYLE_REMAP_PAGE_RANGE) 1271 rc = remap_page_range(vma, ulAddrCur, Phys, PAGE_SIZE, fPg); 1270 1272 #else /* 2.4 */ 1271 1273 rc = remap_page_range(ulAddrCur, Phys, PAGE_SIZE, fPg); … … 1313 1315 } 1314 1316 rc = fixPte(pTask->mm, ulAddrCur, Phys); 1317 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) || defined(HAVE_26_STYLE_REMAP_PAGE_RANGE) 1318 rc = remap_page_range(vma, ulAddrCur, Phys, PAGE_SIZE, fPg); 1315 1319 #else /* 2.4 */ 1316 1320 rc = remap_page_range(ulAddrCur, Phys, PAGE_SIZE, fPg);
Note:
See TracChangeset
for help on using the changeset viewer.