Changeset 48382 in vbox
- Timestamp:
- Sep 9, 2013 10:04:44 AM (11 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r47199 r48382 126 126 127 127 /* For thread-context hooks. */ 128 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23) &&defined(CONFIG_PREEMPT_NOTIFIERS)128 #if defined(CONFIG_PREEMPT_NOTIFIERS) 129 129 # include <linux/preempt.h> 130 130 #endif -
trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
r47955 r48382 39 39 #include "internal/thread.h" 40 40 41 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23) && defined(CONFIG_PREEMPT_NOTIFIERS) 41 /* 42 * Linux kernel 2.6.23 introduced thread-context hooks but RedHat kernel 2.6.18 has it backported. 43 * Checking the define alone without depending on a version ought to be sufficient. 44 */ 45 #if defined(CONFIG_PREEMPT_NOTIFIERS) 42 46 43 47 /*******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.