From 0b19c9b9d801dd1e756691097998a7c75756e371aeefd8aefd83cd4afe68f631 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 25 Apr 2018 20:15:54 +0000 Subject: [PATCH] - Fix typo that broke builds for kernel 4.16. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=421 --- fixes_for_4.17.patch | 13 +------------ virtualbox.changes | 5 +++++ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/fixes_for_4.17.patch b/fixes_for_4.17.patch index 5cb11cd..957c9bb 100644 --- a/fixes_for_4.17.patch +++ b/fixes_for_4.17.patch @@ -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 + diff --git a/virtualbox.changes b/virtualbox.changes index 854fee8..c3d672d 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -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