binfmt/elf: Set elf tcb priority level to default

This commit is contained in:
anchao 2018-08-22 07:16:52 -06:00 committed by Gregory Nutt
parent e5f9b7d66b
commit 1137927bd7

View file

@ -264,6 +264,7 @@ static int elf_loadbinary(FAR struct binary_s *binp)
binp->entrypt = (main_t)(loadinfo.textalloc + loadinfo.ehdr.e_entry);
binp->stacksize = CONFIG_ELF_STACKSIZE;
binp->priority = SCHED_PRIORITY_DEFAULT;
/* Add the ELF allocation to the alloc[] only if there is no address
* environment. If there is an address environment, it will automatically