X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1810d57c2b26e27fc5e880e65fcc57f41345249e..96c00b83efee36af986777b823c79938297ca17d:/src/mc/PageStore.cpp diff --git a/src/mc/PageStore.cpp b/src/mc/PageStore.cpp index 78f28e68fc..a8e149aeb4 100644 --- a/src/mc/PageStore.cpp +++ b/src/mc/PageStore.cpp @@ -16,6 +16,8 @@ #include #include +#include "src/internal_config.h" + #include "src/mc/PageStore.hpp" #include "src/mc/mc_mmu.h" @@ -34,8 +36,7 @@ namespace mc { * @param data Memory page * @return hash off the page */ -static inline __attribute__ ((always_inline)) -PageStore::hash_type mc_hash_page(const void* data) +static XBT_ALWAYS_INLINE PageStore::hash_type mc_hash_page(const void* data) { const std::uint64_t* values = (const uint64_t*) data; std::size_t n = xbt_pagesize / sizeof(uint64_t);