Changeset 104942 in vbox
- Timestamp:
- Jun 17, 2024 2:09:27 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r104925 r104942 246 246 if (fKernel) 247 247 { 248 # if RTLNX_VER_MIN(6,6,0) 248 # if RTLNX_VER_MIN(6,6,0) || RTLNX_SUSE_MAJ_PREREQ(15, 6) 249 249 /* In kernel 6.6 mk_pte() macro was fortified with additional 250 250 * check which does not allow to use our custom mask anymore … … 1467 1467 fWrite, /* force write access. */ 1468 1468 # endif 1469 &pMemLnx->apPages[0] /* Page array. */ 1470 # if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && !RTLNX_SUSE_MAJ_PREREQ(15, 6) 1471 , papVMAs /* vmas */ 1472 # endif 1469 &pMemLnx->apPages[0], /* Page array. */ 1470 papVMAs /* vmas */ 1473 1471 ); 1474 1472 #endif /* GET_USER_PAGES_API < KERNEL_VERSION(4, 6, 0) */ … … 1494 1492 { 1495 1493 flush_dcache_page(pMemLnx->apPages[rc]); 1496 # if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) 1494 # if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && !RTLNX_SUSE_MAJ_PREREQ(15, 6) 1497 1495 # if RTLNX_VER_MIN(6,3,0) 1498 1496 vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED);
Note:
See TracChangeset
for help on using the changeset viewer.