summaryrefslogtreecommitdiffstats
path: root/common/dlmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/dlmalloc.c')
-rw-r--r--common/dlmalloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index fe3b86da42..a22fee530a 100644
--- a/common/dlmalloc.c
+++ b/common/dlmalloc.c
@@ -609,11 +609,12 @@ static mbinptr av_[NAV * 2 + 2] = {
/* Other static bookkeeping data */
/* variables holding tunable values */
-
+#ifndef __U_BOOT__
static unsigned long trim_threshold = DEFAULT_TRIM_THRESHOLD;
-static unsigned long top_pad = DEFAULT_TOP_PAD;
static unsigned int n_mmaps_max = DEFAULT_MMAP_MAX;
static unsigned long mmap_threshold = DEFAULT_MMAP_THRESHOLD;
+#endif
+static unsigned long top_pad = DEFAULT_TOP_PAD;
/* The first value returned from sbrk */
static char* sbrk_base = (char*)(-1);