VirtualBox

Changeset 77367 in vbox for trunk/src


Ignore:
Timestamp:
Feb 19, 2019 5:11:53 PM (6 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux: handle get_user_pages back-port to Linux 4.4.168.
ticketref:18315:Kernel modules do not build with linux kernel 4.4.169.

File:
1 edited

Legend:

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

    r77208 r77367  
    10311031    && LINUX_VERSION_CODE <  KERNEL_VERSION(4, 6, 0) \
    10321032    && defined(FAULT_FLAG_REMOTE)
     1033# define GET_USER_PAGES_API     KERNEL_VERSION(4, 10, 0) /* no typo! */
     1034/* The get_user_pages API change was back-ported to 4.4.168. */
     1035#elif    LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 168) \
     1036      && LINUX_VERSION_CODE <  KERNEL_VERSION(4, 5, 0)
    10331037# define GET_USER_PAGES_API     KERNEL_VERSION(4, 10, 0) /* no typo! */
    10341038#else
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