virtualbox/virtualbox-kernel-3.6.patch

15 lines
630 B
Diff

--- a/src/VBox/Additions/linux/drm/vboxvideo_drm.c (revision 42783)
+++ b/src/VBox/Additions/linux/drm/vboxvideo_drm.c (revision 42784)
@@ -106,7 +106,9 @@
{
/* .driver_features = DRIVER_USE_MTRR, */
.load = vboxvideo_driver_load,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
.reclaim_buffers = drm_core_reclaim_buffers,
+#endif
/* As of Linux 2.6.37, always the internal functions are used. */
#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 37) && !defined(DRM_RHEL61)
.get_map_ofs = drm_core_get_map_ofs,
Index: vboxvideo_dac.c
===================================================================