SWDEV-299893 - Fix PAL/lnx build

Change-Id: If4408a81d2dc8686c8e805a7697a7d9b2589c864


[ROCm/clr commit: 1e6cc5a2fa]
Tento commit je obsažen v:
Saleel Kudchadker
2021-11-23 08:07:32 -08:00
rodič 3af9ff75f6
revize dc7a87fad8
+2
Zobrazit soubor
@@ -309,6 +309,7 @@ void Os::currentStackInfo(address* base, size_t* size) {
void Os::setCurrentThreadName(const char* name) { ::prctl(PR_SET_NAME, name); }
void Os::setPreferredNumaNode(uint32_t node) {
#ifdef ROCCLR_SUPPORT_NUMA_POLICY
if (AMD_CPU_AFFINITY) {
// Set preferred node affinity mask
int num_cpus = numa_num_configured_cpus();
@@ -321,6 +322,7 @@ void Os::setPreferredNumaNode(uint32_t node) {
numa_free_cpumask(bm);
}
#endif //ROCCLR_SUPPORT_NUMA_POLICY
}
void* Thread::entry(Thread* thread) {