Fix bug when KMP_USE_ADAPTIVE_LOCKS is 0
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 30 Mar 2016 21:50:59 +0000 (21:50 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 30 Mar 2016 21:50:59 +0000 (21:50 +0000)
commit1d46d979a9822239b1d30e8acb70726a69487be1
treea452c8e3c50d56951683407533206c33127108d5
parent43d4144d0dd25a0b9ffe73ddb7c18c3f1804dd62
Fix bug when KMP_USE_ADAPTIVE_LOCKS is 0

#endif was one line too low.  If KMP_USE_ADAPTIVE_LOCKS is 0,
then queuing locks would incorrectly use drdpa lock mechanism.
This is a fix for https://llvm.org/bugs/show_bug.cgi?id=26649

llvm-svn: 264934
openmp/runtime/src/kmp_lock.cpp