VirtualBox

Ignore:
Timestamp:
Jul 16, 2013 3:45:42 PM (12 years ago)
Author:
vboxsync
Message:

IPRT: Kernel thread-context hooks, linux implementation. Extended tstR0ThreadPreemption testcase to test the thread-context hooks.

Location:
trunk/src/VBox/Runtime/r0drv/linux
Files:
1 added
1 edited

Legend:

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

    r44867 r47199  
    125125#include <asm/div64.h>
    126126
     127/* For thread-context hooks. */
     128#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23) && defined(CONFIG_PREEMPT_NOTIFIERS)
     129# include <linux/preempt.h>
     130#endif
     131
    127132/* for workqueue / task queues. */
    128133#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 41)
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