diff options
author | Jason Evans <je@facebook.com> | 2010-02-11 23:56:23 (GMT) |
---|---|---|
committer | Jason Evans <je@facebook.com> | 2010-02-11 23:56:23 (GMT) |
commit | 3b5ee5e8574e0599a5bdcd05e3b72160b8379355 (patch) | |
tree | 3c985d82acd510bc5cf9027d386e649b18bee93f /jemalloc | |
parent | 59e9be0f5f8006c4531f647f718683e2ec016b21 (diff) | |
download | jemalloc-3b5ee5e8574e0599a5bdcd05e3b72160b8379355.zip jemalloc-3b5ee5e8574e0599a5bdcd05e3b72160b8379355.tar.gz jemalloc-3b5ee5e8574e0599a5bdcd05e3b72160b8379355.tar.bz2 |
Fix #include ordering for mb.h.
Include mb.h after mutex.h, in case it actually has to use the
mutex-based memory barrier implementation.
Diffstat (limited to 'jemalloc')
-rw-r--r-- | jemalloc/include/jemalloc/internal/jemalloc_internal.h.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in b/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in index f7721f8..df1829f 100644 --- a/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in +++ b/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in @@ -170,11 +170,11 @@ extern void (*JEMALLOC_P(malloc_message))(void *w4opaque, const char *p1, (((s) + PAGE_MASK) & ~PAGE_MASK) #include "jemalloc/internal/prn.h" -#include "jemalloc/internal/mb.h" #include "jemalloc/internal/ckh.h" #include "jemalloc/internal/stats.h" #include "jemalloc/internal/ctl.h" #include "jemalloc/internal/mutex.h" +#include "jemalloc/internal/mb.h" #include "jemalloc/internal/extent.h" #include "jemalloc/internal/arena.h" #include "jemalloc/internal/base.h" @@ -189,11 +189,11 @@ extern void (*JEMALLOC_P(malloc_message))(void *w4opaque, const char *p1, #define JEMALLOC_H_STRUCTS #include "jemalloc/internal/prn.h" -#include "jemalloc/internal/mb.h" #include "jemalloc/internal/ckh.h" #include "jemalloc/internal/stats.h" #include "jemalloc/internal/ctl.h" #include "jemalloc/internal/mutex.h" +#include "jemalloc/internal/mb.h" #include "jemalloc/internal/extent.h" #include "jemalloc/internal/arena.h" #include "jemalloc/internal/base.h" @@ -251,11 +251,11 @@ arena_t *choose_arena_hard(void); #endif #include "jemalloc/internal/prn.h" -#include "jemalloc/internal/mb.h" #include "jemalloc/internal/ckh.h" #include "jemalloc/internal/stats.h" #include "jemalloc/internal/ctl.h" #include "jemalloc/internal/mutex.h" +#include "jemalloc/internal/mb.h" #include "jemalloc/internal/extent.h" #include "jemalloc/internal/arena.h" #include "jemalloc/internal/base.h" @@ -270,11 +270,11 @@ arena_t *choose_arena_hard(void); #define JEMALLOC_H_INLINES #include "jemalloc/internal/prn.h" -#include "jemalloc/internal/mb.h" #include "jemalloc/internal/ckh.h" #include "jemalloc/internal/stats.h" #include "jemalloc/internal/ctl.h" #include "jemalloc/internal/mutex.h" +#include "jemalloc/internal/mb.h" #include "jemalloc/internal/extent.h" #include "jemalloc/internal/base.h" #include "jemalloc/internal/chunk.h" |