renamed smp_mutex to _smp_mutex to skip swapglobals
[charm.git] / src / arch / util / machine-smp.c
index 94e5c783a86e48926bc45f543282835125150a81..e8083bd9fa9618e00d5fc31d150e3b56faf7a898 100644 (file)
@@ -416,7 +416,7 @@ static void CmiStartThreads(char **argv)
 
   CmiMemLock_lock=CmiCreateLock();
   comm_mutex=CmiCreateLock();
-  smp_mutex = CmiCreateLock();
+  _smp_mutex = CmiCreateLock();
 #ifdef CMK_NO_ASM_AVAILABLE
   cmiMemoryLock = CmiCreateLock();
   if (CmiMyNode()==0) CmiPrintf("CmiMemory: fences and atomic operations not available in native assembly\n");