summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/z_Linux_util.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-11-07 23:32:13 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-11-07 23:32:13 +0000
commit40039ac98cd423c05c95c4b7ec119ab00c42d45a (patch)
tree4986788be30df9a5d6a4dca9d30f8167d7e04967 /openmp/runtime/src/z_Linux_util.cpp
parent6c301b6eb1c393331ec38aee37b29cadae607723 (diff)
downloadbcm5719-llvm-40039ac98cd423c05c95c4b7ec119ab00c42d45a.tar.gz
bcm5719-llvm-40039ac98cd423c05c95c4b7ec119ab00c42d45a.zip
Cleanup version symbol macros and attributes/declspecs
1) Get rid of xaliasify, xexpand and xversionify for KMP_EXPAND_NAME and KMP_VERSION_SYMBOL. KMP_VERSION_SYMBOL is a combination of xaliasify and xversionify. 2) Put all attribute and __declspec definitions in kmp_os.h Differential Revision: https://reviews.llvm.org/D39516 llvm-svn: 317636
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.cpp')
-rw-r--r--openmp/runtime/src/z_Linux_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp
index 42ff0ea1503..fa9b1c53888 100644
--- a/openmp/runtime/src/z_Linux_util.cpp
+++ b/openmp/runtime/src/z_Linux_util.cpp
@@ -508,7 +508,7 @@ static void *__kmp_launch_worker(void *thr) {
__kmp_gtid = gtid;
#endif
#if KMP_STATS_ENABLED
- // set __thread local index to point to thread-specific stats
+ // set thread local index to point to thread-specific stats
__kmp_stats_thread_ptr = ((kmp_info_t *)thr)->th.th_stats;
KMP_START_EXPLICIT_TIMER(OMP_worker_thread_life);
KMP_SET_THREAD_STATE(IDLE);
@@ -778,7 +778,7 @@ void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) {
// th->th.th_stats is used to transfer thread-specific stats-pointer to
// __kmp_launch_worker. So when thread is created (goes into
- // __kmp_launch_worker) it will set its __thread local pointer to
+ // __kmp_launch_worker) it will set its thread local pointer to
// th->th.th_stats
if (!KMP_UBER_GTID(gtid)) {
th->th.th_stats = __kmp_stats_list->push_back(gtid);
OpenPOWER on IntegriCloud