Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 689846 | Differences between
and this patch

Collapse All | Expand All

(-)VirtualBox-6.0.8.orig/out/linux.amd64/release/bin/additions/src/vboxvideo/vbox_ttm.c (-1 / +4 lines)
Lines 302-308 int vbox_mm_init(struct vbox_private *vb Link Here
302
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71)
302
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71)
303
				 dev->anon_inode->i_mapping,
303
				 dev->anon_inode->i_mapping,
304
#endif
304
#endif
305
				 DRM_FILE_PAGE_OFFSET, true);
305
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
306
				 DRM_FILE_PAGE_OFFSET,
307
#endif
308
				 true);
306
	if (ret) {
309
	if (ret) {
307
		DRM_ERROR("Error initialising bo driver; %d\n", ret);
310
		DRM_ERROR("Error initialising bo driver; %d\n", ret);
308
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)
311
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)
(-)VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c (-1 / +4 lines)
Lines 307-313 int vbox_mm_init(struct vbox_private *vb Link Here
307
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71)
307
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71)
308
				 dev->anon_inode->i_mapping,
308
				 dev->anon_inode->i_mapping,
309
#endif
309
#endif
310
				 DRM_FILE_PAGE_OFFSET, true);
310
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
311
				 DRM_FILE_PAGE_OFFSET,
312
#endif
313
				true);
311
	if (ret) {
314
	if (ret) {
312
		DRM_ERROR("Error initialising bo driver; %d\n", ret);
315
		DRM_ERROR("Error initialising bo driver; %d\n", ret);
313
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)
316
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)

Return to bug 689846