- Remove file "fix_KMS_support.patch" - Fixed upstream
Add new patch file "fixes_for_4.15.patch". Modified vboxconfig.sh to issue a warning when there is a version mismatch rather than abort. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=384
This commit is contained in:
committed by
Git OBS Bridge
parent
f3efb31ed1
commit
fadfe8ba5d
15
fixes_for_4.15.patch
Normal file
15
fixes_for_4.15.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Index: VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
|
||||
===================================================================
|
||||
--- VirtualBox-5.1.30.orig/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
|
||||
+++ VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
|
||||
@@ -1584,7 +1584,9 @@ RTDECL(int) RTTimerCreateEx(PRTTIMER *pp
|
||||
else
|
||||
#endif
|
||||
{
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
|
||||
+ __init_timer(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer, TIMER_PINNED);
|
||||
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
|
||||
init_timer_pinned(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer);
|
||||
#else
|
||||
init_timer(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer);
|
Reference in New Issue
Block a user