VirtualBox

Changeset 39708 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 6, 2012 12:42:49 PM (13 years ago)
Author:
vboxsync
Message:

Additions/linux/drm: support OEL/RHEL6.2

File:
1 edited

Legend:

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

    r37351 r39708  
    113113        .fasync = drm_fasync,
    114114    },
    115 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39)
     115#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61)
    116116    .pci_driver =
    117117    {
     
    128128};
    129129
    130 #if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 39)
     130#if LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61)
    131131static struct pci_driver pci_driver =
    132132{
     
    138138static int __init vboxvideo_init(void)
    139139{
    140 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39)
     140#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61)
    141141    return drm_init(&driver);
    142142#else
     
    147147static void __exit vboxvideo_exit(void)
    148148{
    149 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39)
     149#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 39) && !defined(DRM_RHEL61)
    150150    drm_exit(&driver);
    151151#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