- Timestamp:
- Jan 29, 2013 11:14:20 AM (12 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
r40808 r44443 94 94 pThis->idAssertCpu = NIL_RTCPUID; 95 95 #endif 96 spin_lock_init(&pThis->Spinlock); 96 97 if (fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE) 98 spin_lock_init(&pThis->Spinlock); 99 else 100 spin_lock_init(&pThis->Spinlock); 97 101 98 102 *pSpinlock = pThis; -
trunk/src/VBox/Runtime/r0drv/mpnotification-r0drv.c
r40806 r44443 277 277 DECLHIDDEN(int) rtR0MpNotificationInit(void) 278 278 { 279 int rc = RTSpinlockCreate((PRTSPINLOCK)&g_hRTMpNotifySpinLock, RTSPINLOCK_FLAGS_INTERRUPT_ UNSAFE, "RTR0Mp");279 int rc = RTSpinlockCreate((PRTSPINLOCK)&g_hRTMpNotifySpinLock, RTSPINLOCK_FLAGS_INTERRUPT_SAFE, "RTR0Mp"); 280 280 if (RT_SUCCESS(rc)) 281 281 {
Note:
See TracChangeset
for help on using the changeset viewer.