VirtualBox

Changes between Initial Version and Version 1 of Ticket #19145, comment 17


Ignore:
Timestamp:
02/18/2020 04:36:10 PM (14 months ago)
Author:
fbatschu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19145, comment 17

    initial v1  
    161161 
    162162and works with building against 5.5-rc7 (which is effectively 5.5.0) and 5.5.1 and 5.5.2. 
     163 
     164actually a nit was luring which requires the following diff on the diffs above for the final changes to work with real old kernels (3.16.0) 
     165 
     166{{{ 
     167$ svn diff 
     168Index: src/VBox/Additions/linux/drm/vbox_drv.c 
     169=================================================================== 
     170--- src/VBox/Additions/linux/drm/vbox_drv.c     (revision 136167) 
     171+++ src/VBox/Additions/linux/drm/vbox_drv.c     (working copy) 
     172@@ -36,10 +36,10 @@ 
     173 #include <linux/console.h> 
     174 #include <linux/vt_kern.h> 
     175  
     176+#include "vbox_drv.h" 
     177+ 
     178 #include <drm/drm_crtc_helper.h> 
     179  
     180-#include "vbox_drv.h" 
     181- 
     182 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0) || defined(RHEL_81) 
     183 #include <drm/drm_probe_helper.h> 
     184 #endif 
     185Index: src/VBox/Additions/linux/drm/vbox_fb.c 
     186=================================================================== 
     187--- src/VBox/Additions/linux/drm/vbox_fb.c      (revision 136167) 
     188+++ src/VBox/Additions/linux/drm/vbox_fb.c      (working copy) 
     189@@ -42,11 +42,12 @@ 
     190 #include <linux/fb.h> 
     191 #include <linux/init.h> 
     192  
     193+#include "vbox_drv.h" 
     194+ 
     195 #include <drm/drm_crtc.h> 
     196 #include <drm/drm_fb_helper.h> 
     197 #include <drm/drm_crtc_helper.h> 
     198  
     199-#include "vbox_drv.h" 
     200 #include <VBoxVideo.h> 
     201  
     202 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) && !defined(RHEL_74) 
     203 
     204}}} 

www.oracle.com
ContactPrivacy policyTerms of Use