Changeset 56955 in vbox for trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
- Timestamp:
- Jul 16, 2015 4:16:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c
r55976 r56955 191 191 pThis->PreemptOps.sched_in = rtThreadCtxHooksLnxSchedIn; 192 192 193 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) 194 preempt_notifier_inc(); 195 #endif 196 193 197 *phCtxHook = pThis; 194 198 return VINF_SUCCESS; … … 220 224 Assert(!pThis->fEnabled); /* paranoia */ 221 225 } 226 227 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) 228 preempt_notifier_dec(); 229 #endif 222 230 223 231 ASMAtomicWriteU32(&pThis->u32Magic, ~RTTHREADCTXHOOKINT_MAGIC);
Note:
See TracChangeset
for help on using the changeset viewer.