[project @ 2005-11-18 15:24:12 by simonmar]
[ghc-hetmet.git] / ghc / rts / Interpreter.c
index f007c4a..b31ade0 100644 (file)
@@ -57,7 +57,7 @@
 #define RETURN_TO_SCHEDULER(todo,retcode)      \
    SAVE_STACK_POINTERS;                                \
    cap->r.rCurrentTSO->what_next = (todo);     \
-   threadPaused(cap->r.rCurrentTSO);           \
+   threadPaused(cap,cap->r.rCurrentTSO);               \
    cap->r.rRet = (retcode);                    \
    return cap;