Created
November 10, 2014 00:53
-
-
Save kirrmann/62d3d962007b62bb8d58 to your computer and use it in GitHub Desktop.
VirtualBox-4.3.18-kmod-linux-kernel-3.18-drm_mmmap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- VirtualBox-kmod-4.3.18/vboxvideo/vboxvideo_drm.c.org 2014-10-16 12:36:14.000000000 +0200 | |
| +++ VirtualBox-kmod-4.3.18/vboxvideo/vboxvideo_drm.c 2014-11-10 01:49:15.353329725 +0100 | |
| @@ -77,6 +77,7 @@ | |
| # endif | |
| #include "drm/drmP.h" | |
| +#include "drm/drm_legacy.h" | |
| #include "vboxvideo_drm.h" | |
| # ifndef RHEL_RELEASE_CODE | |
| @@ -122,7 +123,7 @@ | |
| .open = drm_open, | |
| .release = drm_release, | |
| .unlocked_ioctl = drm_ioctl, | |
| - .mmap = drm_mmap, | |
| + .mmap = drm_legacy_mmap, | |
| .poll = drm_poll, | |
| }; | |
| #endif | |
| @@ -152,7 +153,7 @@ | |
| #else | |
| .ioctl = drm_ioctl, | |
| #endif | |
| - .mmap = drm_mmap, | |
| + .mmap = drm_legacy_mmap, | |
| .poll = drm_poll, | |
| }, | |
| #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) || defined(DRM_FOPS_AS_POINTER) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kirrmann Thank you sir! that worked beautifully. :)