diff options
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r-- | openmp/runtime/src/kmp_affinity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_affinity.cpp b/openmp/runtime/src/kmp_affinity.cpp index f09c3cdac93..79b9b91df75 100644 --- a/openmp/runtime/src/kmp_affinity.cpp +++ b/openmp/runtime/src/kmp_affinity.cpp @@ -1022,7 +1022,7 @@ __kmp_affinity_create_apicid_map(AddrUnsPair **address2os, // The apic id and max threads per pkg come from cpuid(1). // __kmp_x86_cpuid(1, 0, &buf); - if (! (buf.edx >> 9) & 1) { + if (((buf.edx >> 9) & 1) == 0) { __kmp_set_system_affinity(oldMask, TRUE); __kmp_free(threadInfo); KMP_CPU_FREE(oldMask); |