VirtualBox

Ticket #16506: API_changes_4.11.patch

File API_changes_4.11.patch, 1.0 KB (added by sergiomb, 8 years ago)

partial fix

  • vboxdrv/r0drv/linux/semmutex-r0drv-linux.c

    old new static int rtSemMutexLinuxRequestSleep(P  
    206207            break;
    207208
    208209        /* Go to sleep. */
    209         set_task_state(pSelf, fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
     210        set_current_state(fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
    210211        spin_unlock_irq(&pThis->Spinlock);
    211212
    212213        lTimeout = schedule_timeout(lTimeout);
  • vboxguest/r0drv/linux/semmutex-r0drv-linux.c

    old new static int rtSemMutexLinuxRequestSleep(P  
    206207            break;
    207208
    208209        /* Go to sleep. */
    209         set_task_state(pSelf, fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
     210        set_current_state(fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
    210211        spin_unlock_irq(&pThis->Spinlock);
    211212
    212213        lTimeout = schedule_timeout(lTimeout);

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