- Fix typo that broke builds for kernel 4.16.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=421
This commit is contained in:
parent
419c2c8aa9
commit
0b19c9b9d8
@ -61,15 +61,4 @@ 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(3, 18, 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
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 20:14:59 UTC 2018 - Larry.Finger@lwfinger.net
|
||||
|
||||
- Fix typo that broke builds for kernel 4.16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 15:23:08 UTC 2018 - Larry.Finger@lwfinger.net
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user