VirtualBox

Changeset 66524 in vbox for trunk/src


Ignore:
Timestamp:
Apr 12, 2017 10:42:48 AM (8 years ago)
Author:
vboxsync
Message:

bugref:8834: Makeself installers/Linux: indicate problems better in the exit codes
Fix previous change for pre-4.0 Linux kernels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_main.c

    r66523 r66524  
    242242}
    243243
     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
    244249static int vbox_accel_init(struct vbox_private *vbox)
    245250{
     
    302307           && have_cursor == VINF_SUCCESS;
    303308}
    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 #endif
    309309
    310310/** Set up our heaps and data exchange buffers in VRAM before handing the rest
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette