VirtualBox

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


Ignore:
Timestamp:
Mar 10, 2010 12:59:29 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58633
Message:

Additions/linux/drm: fix crash for Fedora 12 (Linux 2.6.32) and Linux >= 2.6.33

File:
1 edited

Legend:

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

    r25591 r27248  
    8888                 .open = drm_open,
    8989                 .release = drm_release,
     90                 /* This was changed with Linux 2.6.33 but Fedora backported this
     91                  * change to their 2.6.32 kernel. */
     92#if defined(DRM_UNLOCKED) || LINUX_VERSION_CODE >= KERNEL_VERSION (2, 6, 33)
     93                 .unlocked_ioctl = drm_ioctl,
     94#else
    9095                 .ioctl = drm_ioctl,
     96#endif
    9197                 .mmap = drm_mmap,
    9298                 .poll = drm_poll,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette