VirtualBox

Changeset 96715 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 13, 2022 9:26:31 AM (2 years ago)
Author:
vboxsync
Message:

iprt: Linux: r0drv: make vmalloc call compatible with Linux 5.8 changes, bugref:4567:65.

File:
1 edited

Legend:

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

    r96407 r96715  
    280280
    281281#elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
     282# if RTLNX_VER_MIN(5,8,0)
     283        pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN);
     284# else
    282285        pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM | __GFP_NOWARN, MY_PAGE_KERNEL_EXEC);
     286# endif
    283287#else
    284288        pHdr = (PRTMEMHDR)vmalloc(cb + sizeof(*pHdr));
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