Changeset 13248 in vbox for trunk/src/VBox/Runtime/r0drv/solaris
- Timestamp:
- Oct 14, 2008 11:27:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/spinlock-r0drv-solaris.c
r8245 r13248 33 33 *******************************************************************************/ 34 34 #include "the-solaris-kernel.h" 35 #include <sys/spl.h> 35 36 36 37 #include <iprt/spinlock.h> … … 72 73 */ 73 74 pSpinlockInt->u32Magic = RTSPINLOCK_MAGIC; 74 mutex_init(&pSpinlockInt->Mtx, "IPRT Spinlock", MUTEX_ DRIVER, NULL);75 mutex_init(&pSpinlockInt->Mtx, "IPRT Spinlock", MUTEX_SPIN, (void *)ipltospl(DISP_LEVEL)); 75 76 *pSpinlock = pSpinlockInt; 76 77 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.