[commit: ghc] ghc-8.0: rts: Fix reference to NUMA-specific field (129845018)
git at git.haskell.org
git at git.haskell.org
Mon Sep 19 02:01:46 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/1298450180e387a27b1333ed4db5a6fccaaf6d84/ghc
>---------------------------------------------------------------
commit 1298450180e387a27b1333ed4db5a6fccaaf6d84
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Sep 18 13:11:52 2016 -0400
rts: Fix reference to NUMA-specific field
This snuck into c51caafae7669d4246f4efd3d1a6858020780e02.
>---------------------------------------------------------------
1298450180e387a27b1333ed4db5a6fccaaf6d84
rts/ProfHeap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 29fda5a..929b4fc 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -386,7 +386,7 @@ initHeapProfiling(void)
}
#ifdef THREADED_RTS
// See Trac #12019.
- if (doingLDVProfiling() && RtsFlags.ParFlags.nCapabilities > 1) {
+ if (doingLDVProfiling() && RtsFlags.ParFlags.nNodes > 1) {
errorBelch("-hb cannot be used with multiple capabilities");
stg_exit(EXIT_FAILURE);
}
More information about the ghc-commits
mailing list