Changeset 37351 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Jun 7, 2011 1:45:11 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72115
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
r36471 r37351 63 63 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) 64 64 65 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32) 66 # ifdef RHEL_RELEASE_CODE 67 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,1) 68 # define DRM_RHEL61 69 # endif 70 # endif 71 # endif 72 65 73 #include "drm/drmP.h" 66 74 #include "vboxvideo_drm.h" … … 84 92 .load = vboxvideo_driver_load, 85 93 .reclaim_buffers = drm_core_reclaim_buffers, 86 /* As of Linux 2.6 5.37, always the internal functions are used. */87 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 37) 94 /* As of Linux 2.6.37, always the internal functions are used. */ 95 #if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 37) && !defined(DRM_RHEL61) 88 96 .get_map_ofs = drm_core_get_map_ofs, 89 97 .get_reg_ofs = drm_core_get_reg_ofs,
Note:
See TracChangeset
for help on using the changeset viewer.