VirtualBox

Changeset 33018 in vbox for trunk


Ignore:
Timestamp:
Oct 8, 2010 7:38:32 PM (14 years ago)
Author:
vboxsync
Message:

waitqueue-r0drv-linux.h: 2.4.x build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h

    r33017 r33018  
    171171     * Initialize the wait queue related bits.
    172172     */
     173#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 39)
    173174    init_wait((&pWait->WaitQE));
     175#else
     176    RT_ZERO(pWait->WaitQE);
     177    init_waitqueue_entry((&pWait->WaitQE), current);
     178#endif
    174179    pWait->pWaitQueue = pWaitQueue;
    175180    pWait->iWaitState = fFlags & RTSEMWAIT_FLAGS_INTERRUPTIBLE
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