Changeset 60453 in vbox for trunk/src/VBox/Runtime/r0drv
- Timestamp:
- Apr 12, 2016 1:04:28 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106541
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r60372 r60453 590 590 if (!PageReserved(pMemLnx->apPages[iPage])) 591 591 SetPageDirty(pMemLnx->apPages[iPage]); 592 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) 593 put_page(pMemLnx->apPages[iPage]); 594 #else 592 595 page_cache_release(pMemLnx->apPages[iPage]); 596 #endif 593 597 } 594 598 … … 1093 1097 if (!PageReserved(pMemLnx->apPages[rc])) 1094 1098 SetPageDirty(pMemLnx->apPages[rc]); 1099 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) 1100 put_page(pMemLnx->apPages[rc]); 1101 #else 1095 1102 page_cache_release(pMemLnx->apPages[rc]); 1103 #endif 1096 1104 } 1097 1105
Note:
See TracChangeset
for help on using the changeset viewer.