VirtualBox

Ignore:
Timestamp:
May 3, 2011 7:49:12 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71534
Message:

Runtime/r0drv: fix for Linux 2.4 kernels

File:
1 edited

Legend:

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

    r36555 r36947  
    5252DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    5353{
     54#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
    5455    /* See comment near MAX_RT_PRIO in linux/sched.h for details on
    5556       sched_priority. */
     
    8990    }
    9091
    91 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
    9292    sched_setscheduler(current, iSchedClass, &Param);
    9393#endif
Note: See TracChangeset for help on using the changeset viewer.

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