summaryrefslogtreecommitdiff
path: root/rts/sm/GC.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/GC.c')
-rw-r--r--rts/sm/GC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 88d5a02f89..a4ac1fb01d 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -259,7 +259,7 @@ GarbageCollect (rtsBool force_major_gc,
* We don't try to parallelise minor GCs (unless the user asks for
* it with +RTS -gn0), or mark/compact/sweep GC.
*/
- if (gc_type == PENDING_GC_PAR) {
+ if (gc_type == SYNC_GC_PAR) {
n_gc_threads = RtsFlags.ParFlags.nNodes;
} else {
n_gc_threads = 1;