diff options
Diffstat (limited to 'rts/Capability.c')
-rw-r--r-- | rts/Capability.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Capability.c b/rts/Capability.c index 91d4683f73..c112349925 100644 --- a/rts/Capability.c +++ b/rts/Capability.c @@ -350,6 +350,8 @@ void initCapabilities (void) for (i = 0; i < MAX_NUMA_NODES; i++) { numa_map[i] = 0; } + } else if (RtsFlags.DebugFlags.numa) { + // n_numa_nodes was set by RtsFlags.c } else { uint32_t nNodes = osNumaNodes(); if (nNodes > MAX_NUMA_NODES) { |