- Timestamp:
- Sep 9, 2013 10:14:21 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
r48382 r48383 126 126 127 127 /* For thread-context hooks. */ 128 #if defined(CONFIG_PREEMPT_NOTIFIERS)128 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18) && defined(CONFIG_PREEMPT_NOTIFIERS) 129 129 # include <linux/preempt.h> 130 130 #endif -
trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
r48382 r48383 40 40 41 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 * Linux kernel 2.6.23 introduced thread-context hooks but RedHat 2.6.18 kernels 43 * got it backported. 44 */ 45 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18) && defined(CONFIG_PREEMPT_NOTIFIERS) 46 46 47 47 /*******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.