From eec4c10f339918b67706fd55c7feb7ab9bb161cf Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Tue, 29 Apr 2014 08:55:34 +0200 Subject: [PATCH] arm:ddekit use simple alloc to allocate stack. Workaround for: -ddekit large alloc unnecessarily allocating physical contiguous memory. -the ARM port expecting that physical contiguous memory equals device memory. --- lib/libddekit/src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libddekit/src/thread.c b/lib/libddekit/src/thread.c index 2aa800e0a..baa3868d3 100644 --- a/lib/libddekit/src/thread.c +++ b/lib/libddekit/src/thread.c @@ -87,7 +87,7 @@ ddekit_thread_create(void (*fun)(void *), void *arg, const char *name) strncpy(th->name, name, DDEKIT_THREAD_NAMELEN); th->name[DDEKIT_THREAD_NAMELEN-1] = 0; - th->stack = ddekit_large_malloc(DDEKIT_THREAD_STACKSIZE); + th->stack = ddekit_simple_malloc(DDEKIT_THREAD_STACKSIZE); th->arg = arg; th->fun = fun;