Do not link ghc stage1 using -threaded, only for stage2 or 3
[ghc-hetmet.git] / rts / ThreadPaused.c
index 2a3f355..4882ab2 100644 (file)
@@ -74,7 +74,7 @@ stackSqueeze(StgTSO *tso, StgPtr bottom)
                 * screw us up if we don't check.
                 */
                if (upd->updatee != updatee && !closure_IND(upd->updatee)) {
-                   UPD_IND_NOLOCK(upd->updatee, updatee);
+                   UPD_IND(upd->updatee, updatee);
                }
 
                // now mark this update frame as a stack gap.  The gap