binfmt/exec: fix build break in kernel build
This commit is contained in:
parent
f7ef08cdc1
commit
a07ad7a115
@ -139,10 +139,12 @@ int exec_spawn(FAR const char *filename, FAR char * const *argv,
|
||||
bin->priority = attr->priority;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_BUILD_KERNEL
|
||||
if (attr->stacksize > 0)
|
||||
{
|
||||
bin->stacksize = attr->stacksize;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Disable pre-emption so that the executed module does
|
||||
|
Loading…
Reference in New Issue
Block a user