mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
binfmt/exec: fix build break in kernel build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user