* src/mm/boehm-gc/Makefile.am (AM_CPPFLAGS): Use libatomic_ops instead
[cacao.git] / src / mm / codememory.c
index 15dde3564522c9828cf39370be1b3b3f82e47448..7d2fd89c867dfbda7c993c547ed614af1043c8fa 100644 (file)
@@ -30,7 +30,7 @@
 #include <sys/mman.h> /* REMOVEME */
 
 #include "threads/lock-common.h"
-#include "threads/threads-common.h"
+#include "threads/thread.h"
 
 #include "mm/codememory.h"
 #include "mm/memory.h"
@@ -66,6 +66,8 @@ static int            pagesize         = 0;
 
 void codememory_init(void)
 {
+       TRACESUBSYSTEMINITIALIZATION("codememory_init");
+
 #if defined(ENABLE_THREADS)
        /* create lock for code memory */