vbox/src/VBox/Additions/linux/drm/vboxvideo_drm.c
Code: Select all
63 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
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 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,3)
71 # define DRM_RHEL63
72 # endif
73 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,4)
74 # define DRM_RHEL64
75 # endif
76 # endif
77 # endif
Code: Select all
112 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0) && !defined(DRM_RHEL64)
113 .reclaim_buffers = drm_core_reclaim_buffers,
114 #endif