VirtualBox

Changeset 75546 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Nov 17, 2018 12:43:14 PM (6 years ago)
Author:
vboxsync
Message:

Addiitons/linux/vboxvideo: make vboxvideo work with EL7.6 standard kernel.
bugref:4567: Linux kernel driver maintenance.
Fix for last change.

File:
1 edited

Legend:

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

    r75421 r75546  
    403403        ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size,
    404404                          ttm_bo_type_device, &vboxbo->placement,
    405 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0)
     405#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0) && !defined(RHEL_76)
    406406                          align >> PAGE_SHIFT, false, NULL, acc_size,
    407407#else
    408408                          align >> PAGE_SHIFT, false, acc_size,
    409409#endif
    410 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_72)) && !defined(RHEL_76)
     410#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_72)
    411411                          NULL, NULL, vbox_bo_ttm_destroy);
    412412#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