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.
This commit is contained in:
Kees Jongenburger 2014-04-29 08:55:34 +02:00 committed by Lionel Sambuc
parent afe5cecd7f
commit eec4c10f33

View file

@ -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;