Defining variable in all memory modules
authorFilippo Gioachin <gioachin@uiuc.edu>
Tue, 19 Jan 2010 19:15:44 +0000 (13:15 -0600)
committerFilippo Gioachin <gioachin@uiuc.edu>
Tue, 19 Jan 2010 19:15:44 +0000 (13:15 -0600)
src/conv-core/memory-charmdebug.c
src/conv-core/memory.c

index 50a560ed1559c8824f86ff3c6fc92eb2bba3ba10..da149141662befc3d0a3a9b5d473f37d5be59d13 100644 (file)
@@ -1081,8 +1081,6 @@ void CpdCheckMemory(int report) {
   SLOT_ITERATE_END
 }
 
-int cpdInSystem;
-
 void CpdSystemEnter() {
 #ifdef CPD_USE_MMAP
   Slot *cur;
index f9cf1a87d549c4964bc36bf3f8217c148fae54dc..54e0e939f1326f000d31b259c0ff241c9dd151f7 100644 (file)
@@ -733,6 +733,7 @@ void CmiOutOfMemoryInit(void) {
   }
 }
 
+int cpdInSystem=0;
 #ifndef CMK_MEMORY_BUILD_CHARMDEBUG
 /* declare the cpd_memory routines */
 void CpdSetInitializeMemory(int v) { }