X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/963e0c46bd55406b400150f42d57e6c6fbed2bb7..a3ba0b940bed4d726f0a2e61aeb2721a02f0873a:/src/smpi/internals/smpi_memory.cpp diff --git a/src/smpi/internals/smpi_memory.cpp b/src/smpi/internals/smpi_memory.cpp index 642f46a45d..b3a9fd1488 100644 --- a/src/smpi/internals/smpi_memory.cpp +++ b/src/smpi/internals/smpi_memory.cpp @@ -137,14 +137,14 @@ int smpi_is_privatization_file(char* file) // TODO: cheinrich: The behavior changed; this now only makes a backup of the // data segment. I think the function should be renamed. -void smpi_initialize_global_memory_segments() +void smpi_backup_global_memory_segment() { #if HAVE_PRIVATIZATION smpi_get_executable_global_size(); XBT_DEBUG("bss+data segment found : size %d starting at %p", smpi_data_exe_size, smpi_data_exe_start); - if (smpi_data_exe_size == 0) { // no need to switch as global variables don't exist + if (smpi_data_exe_size == 0) { // no need to do anything as global variables don't exist smpi_privatize_global_variables=false; return; }