VirtualBox

Changeset 104942 in vbox


Ignore:
Timestamp:
Jun 17, 2024 2:09:27 PM (8 months ago)
Author:
vboxsync
Message:

Additions: Linux: Introduce initial support for OpenSuse 15.6 kernel (additional fixes), bugref:10482.

Also remove idempotent version comparison for earlier kernel versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r104925 r104942  
    246246            if (fKernel)
    247247            {
    248 # if RTLNX_VER_MIN(6,6,0)
     248# if RTLNX_VER_MIN(6,6,0) || RTLNX_SUSE_MAJ_PREREQ(15, 6)
    249249                /* In kernel 6.6 mk_pte() macro was fortified with additional
    250250                 * check which does not allow to use our custom mask anymore
     
    14671467                                fWrite,                 /* force write access. */
    14681468# 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 */
    14731471                                );
    14741472#endif /* GET_USER_PAGES_API < KERNEL_VERSION(4, 6, 0) */
     
    14941492            {
    14951493                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)
    14971495#  if RTLNX_VER_MIN(6,3,0)
    14981496                vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette