VirtualBox

Changeset 58868 in vbox


Ignore:
Timestamp:
Nov 25, 2015 5:06:12 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104349
Message:

Additions/linux/drm: another EL7.2 fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c

    r58845 r58868  
    7878# else
    7979#  define DRM_HAVE_DRM_MAP
     80# endif
     81#endif
     82
     83#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)
     84# ifdef RHEL_RELEASE_CODE
     85#  if RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(7, 2)
     86#   define DRM_WANTS_SET_BUSID
     87#  endif
     88# else
     89#  define DRM_WANTS_SET_BUSID
    8090# endif
    8191#endif
     
    114124    /* .driver_features = DRIVER_USE_MTRR, */
    115125    .load = vboxvideo_driver_load,
    116 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)
     126#ifdef DRM_WANTS_SET_BUSID
    117127    /* If this is missing a warning gets printed to dmesg.  We will not
    118128     * attempt to make kernels work to which the change (915b4d11b) got back-
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