diff options
Diffstat (limited to 'rts/Task.c')
-rw-r--r-- | rts/Task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Task.c b/rts/Task.c index 9a827745ba..9a658e019c 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -429,7 +429,7 @@ workerStart(Task *task) setThreadAffinity(cap->no, n_capabilities); } if (RtsFlags.GcFlags.numa && !RtsFlags.DebugFlags.numa) { - setThreadNode(RtsFlags.GcFlags.numaMap[task->node]); + setThreadNode(numa_map[task->node]); } // set the thread-local pointer to the Task: @@ -510,7 +510,7 @@ void rts_setInCallCapability ( if (RtsFlags.GcFlags.numa) { task->node = capNoToNumaNode(preferred_capability); if (!DEBUG_IS_ON || !RtsFlags.DebugFlags.numa) { // faking NUMA - setThreadNode(RtsFlags.GcFlags.numaMap[task->node]); + setThreadNode(numa_map[task->node]); } } } |