From: Christian Heinrich Date: Tue, 10 Oct 2017 12:11:12 +0000 (+0200) Subject: [SMPI] Removed declaration of smpi_privatization_regions from smpi_bench.cpp X-Git-Tag: v3.18~348^2~10 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8d02fbe4957574edddc92b86d2d32dcdd81b8d1d?ds=sidebyside [SMPI] Removed declaration of smpi_privatization_regions from smpi_bench.cpp Added it to smpi_memory.cpp for the sake of compiling. It will be changed in the next few commits. --- diff --git a/src/smpi/internals/smpi_bench.cpp b/src/smpi/internals/smpi_bench.cpp index 3f61b79c93..5d2df18011 100644 --- a/src/smpi/internals/smpi_bench.cpp +++ b/src/smpi/internals/smpi_bench.cpp @@ -27,7 +27,6 @@ double smpi_host_speed; shared_malloc_type smpi_cfg_shared_malloc = shmalloc_global; double smpi_total_benched_time = 0; -smpi_privatization_region_t smpi_privatization_regions; extern "C" XBT_PUBLIC(void) smpi_execute_flops_(double *flops); void smpi_execute_flops_(double *flops) diff --git a/src/smpi/internals/smpi_memory.cpp b/src/smpi/internals/smpi_memory.cpp index f56b0fd033..ce5d3da4bc 100644 --- a/src/smpi/internals/smpi_memory.cpp +++ b/src/smpi/internals/smpi_memory.cpp @@ -33,6 +33,7 @@ char* smpi_data_exe_start = nullptr; int smpi_data_exe_size = 0; int smpi_privatize_global_variables; static char* smpi_data_exe_copy; +smpi_privatization_region_t smpi_privatization_regions; // static std::set smpi_privatization_regions; static const int PROT_RWX = (PROT_READ | PROT_WRITE | PROT_EXEC);