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;
|
bin->priority = attr->priority;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_BUILD_KERNEL
|
||||||
if (attr->stacksize > 0)
|
if (attr->stacksize > 0)
|
||||||
{
|
{
|
||||||
bin->stacksize = attr->stacksize;
|
bin->stacksize = attr->stacksize;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable pre-emption so that the executed module does
|
/* Disable pre-emption so that the executed module does
|
||||||
|
Loading…
x
Reference in New Issue
Block a user