VirtualBox

Changeset 65991 in vbox


Ignore:
Timestamp:
Mar 8, 2017 10:21:46 AM (8 years ago)
Author:
vboxsync
Message:

Runtime/r0drv: actually use set_current_state() always as this function exists since ages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/semmutex-r0drv-linux.c

    r65990 r65991  
    207207
    208208        /* Go to sleep. */
    209 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
    210209        set_current_state(fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
    211 #else
    212         set_task_state(pSelf, fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
    213 #endif
    214210        spin_unlock_irq(&pThis->Spinlock);
    215211
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