Index: /trunk/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c
===================================================================
--- /trunk/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c	(revision 42495)
+++ /trunk/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c	(revision 42496)
@@ -150,6 +150,6 @@
 
             /* Enable interrupts while we sleep. */
+            ASMSetFlags(fIntSaved);
             critical_exit();
-            ASMSetFlags(fIntSaved);
             DELAY(1);
         }
@@ -195,5 +195,5 @@
         pThis->fIntSaved = 0;
         if (ASMAtomicCmpXchgU32(&pThis->fLocked, 0, 1))
-            ASMSetFlags(pThis->fIntSaved);
+            ASMSetFlags(fIntSaved);
         else
             AssertMsgFailed(("Spinlock %p was not locked!\n", pThis));
