Changeset 44451 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jan 30, 2013 7:58:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
r44443 r44451 95 95 #endif 96 96 97 /* 98 PLEASE DO NOT MODIFY THE NEXT FOUR LINES OF CODE! 99 100 We use this approach in order to split RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE and 101 RTSPINLOCK_FLAGS_INTERRUPT_SAFE spinlocks into separated locking classes when 102 CONFIG_PROVE_LOCKING kernel option is enabled. Using single spin_lock_init() 103 call will trigger kernel warning regarding to incorrect spinlock usage. 104 */ 97 105 if (fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE) 98 106 spin_lock_init(&pThis->Spinlock);
Note:
See TracChangeset
for help on using the changeset viewer.