aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rw-r--r--external/lib/heap/dlmalloc/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/lib/heap/dlmalloc/dlmalloc.c b/external/lib/heap/dlmalloc/dlmalloc.c
index f13d8b9d..7034ec37 100644
--- a/external/lib/heap/dlmalloc/dlmalloc.c
+++ b/external/lib/heap/dlmalloc/dlmalloc.c
@@ -1669,7 +1669,7 @@ unsigned char _BitScanReverse(unsigned long *index, unsigned long mask);
static inline void *mmap(size_t len) {
DEBUG_ASSERT(IS_PAGE_ALIGNED(len));
- void *ptr = page_alloc(len / PAGE_SIZE);
+ void *ptr = page_alloc(len / PAGE_SIZE, PAGE_ALLOC_ANY_ARENA);
if (!ptr)
return MFAIL;
return ptr;