VirtualBox

Ignore:
Timestamp:
Aug 1, 2017 11:22:27 AM (7 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux: openSUSE Leap 42.3 tweak for a Linux 4.4 kernel with Linux 4.10 get_user_pages() interface (2nd fix)

File:
1 edited

Legend:

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

    r68216 r68217  
    10281028/* openSUSE Leap 42.3 detection :-/ */
    10291029#if    LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0) \
    1030     && LINUX_VERSION_CODE <  KERNEL_VERSION(4, 9, 0) \
     1030    && LINUX_VERSION_CODE <  KERNEL_VERSION(4, 6, 0) \
    10311031    && defined(FAULT_FLAG_REMOTE)
    1032 # define GET_USER_PAGES_API     KERNEL_VERSION(4, 10, 0)
     1032# define GET_USER_PAGES_API     KERNEL_VERSION(4, 10, 0) /* no typo! */
    10331033#else
    10341034# define GET_USER_PAGES_API     LINUX_VERSION_CODE
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