VirtualBox

Changeset 65990 in vbox


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

Runtime/r0drv/linux: Linux 4.11 compile fixes

Location:
trunk/src/VBox/Runtime/r0drv/linux
Files:
2 edited

Legend:

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

    r62566 r65990  
    207207
    208208        /* Go to sleep. */
     209#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
     210        set_current_state(fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
     211#else
    209212        set_task_state(pSelf, fInterruptible ? TASK_INTERRUPTIBLE : TASK_UNINTERRUPTIBLE);
     213#endif
    210214        spin_unlock_irq(&pThis->Spinlock);
    211215
  • trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h

    r63225 r65990  
    104104# include <linux/sched/rt.h>
    105105#endif
     106#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
     107# include <linux/sched/signal.h>
     108# include <linux/sched/types.h>
     109#endif
    106110#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 7)
    107111# include <linux/jiffies.h>
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