X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/691d7c891da0352a6fa38507a482b287c7e086de..0d8e66239690b90dd2ced42f6bacab683661b20f:/src/kernel/context/context_private.hpp?ds=sidebyside diff --git a/src/kernel/context/context_private.hpp b/src/kernel/context/context_private.hpp index 0bf2a78b0f..8a47f56e00 100644 --- a/src/kernel/context/context_private.hpp +++ b/src/kernel/context/context_private.hpp @@ -20,14 +20,4 @@ #define ASAN_FINISH_SWITCH(fake_stack_save, bottom_old, size_old) (void)0 #endif -/* We are using the bottom of the stack to save some information, like the - * valgrind_stack_id. Define smx_context_usable_stack_size to give the remaining - * size for the stack. Round its value to a multiple of 16 (asan wants the stacks to be aligned this way). */ -#if HAVE_VALGRIND_H -#define smx_context_usable_stack_size \ - ((smx_context_stack_size - sizeof(unsigned int)) & ~0xf) /* for valgrind_stack_id */ -#else -#define smx_context_usable_stack_size (smx_context_stack_size & ~0xf) -#endif - #endif