Skip to content
Snippets Groups Projects
Commit 89a79e8a authored by David Sidrane's avatar David Sidrane
Browse files

Double faulting on Idle task with 0 stack

parent e5f623e1
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,10 @@ static size_t do_stackcheck(uintptr_t alloc, size_t size)
FAR uint32_t *ptr;
size_t mark;
if (size == 0)
{
return 0;
}
/* Get aligned addresses of the top and bottom of the stack */
#ifdef CONFIG_TLS
/* Skip over the TLS data structure at the bottom of the stack */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment