1
0
forked from pool/virtualbox

- The 3rd time is the charm.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=423
This commit is contained in:
Larry Finger 2018-04-26 16:28:14 +00:00 committed by Git OBS Bridge
parent e4ebd123e1
commit 62b391ff43
2 changed files with 17 additions and 1 deletions

View File

@ -61,4 +61,15 @@ Index: VirtualBox-5.2.10/src/VBox/Additions/linux/drm/vbox_ttm.c
kfree(tt);
return NULL;
}
@@ -450,7 +459,11 @@ int vbox_bo_create(struct drm_device *de
ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size,
ttm_bo_type_device, &vboxbo->placement,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)
+ align >> PAGE_SHIFT, false, acc_size,
+#else
align >> PAGE_SHIFT, false, NULL, acc_size,
+#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73)
NULL,
#endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 26 16:27:04 UTC 2018 - Larry.Finger@lwfinger.net
- The 3rd time is the charm.
-------------------------------------------------------------------
Wed Apr 25 20:14:59 UTC 2018 - Larry.Finger@lwfinger.net