- Timestamp:
- Apr 12, 2017 10:42:48 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r66523 r66524 242 242 } 243 243 244 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0) 245 # define pci_iomap_range(dev, bar, offset, maxlen) \ 246 ioremap(pci_resource_start(dev, bar) + offset, maxlen) 247 #endif 248 244 249 static int vbox_accel_init(struct vbox_private *vbox) 245 250 { … … 302 307 && have_cursor == VINF_SUCCESS; 303 308 } 304 305 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0)306 # define pci_iomap_range(dev, bar, offset, maxlen) \307 ioremap(pci_resource_start(dev, bar) + offset, maxlen)308 #endif309 309 310 310 /** Set up our heaps and data exchange buffers in VRAM before handing the rest
Note:
See TracChangeset
for help on using the changeset viewer.