diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-01 13:21:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-01 13:21:15 -0600 |
commit | 7bfdcaa22bd60cd34f11b0592c53fc5da1a37617 (patch) | |
tree | 77b4f3886eb3f4049545827c2008d161c318a9fa /nuttx/binfmt | |
parent | 9ee5cfaffa313949563fb37f7cd39a2b7620a4dd (diff) | |
download | px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.gz px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.bz2 px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.zip |
Remove final traces of the 8015 from the NuttX source tree
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/binfmt_execmodule.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/nuttx/binfmt/binfmt_execmodule.c b/nuttx/binfmt/binfmt_execmodule.c index 414c17284..dccd225b5 100644 --- a/nuttx/binfmt/binfmt_execmodule.c +++ b/nuttx/binfmt/binfmt_execmodule.c @@ -135,9 +135,7 @@ static void exec_ctors(FAR void *arg) int exec_module(FAR const struct binary_s *binp) { FAR struct task_tcb_s *tcb; -#ifndef CONFIG_CUSTOM_STACK FAR uint32_t *stack; -#endif pid_t pid; int err; int ret; @@ -163,7 +161,6 @@ int exec_module(FAR const struct binary_s *binp) goto errout; } -#ifndef CONFIG_CUSTOM_STACK /* Allocate the stack for the new task (always from the user heap) */ stack = (FAR uint32_t*)kumm_malloc(binp->stacksize); @@ -177,12 +174,6 @@ int exec_module(FAR const struct binary_s *binp) ret = task_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority, stack, binp->stacksize, binp->entrypt, binp->argv); -#else - /* Initialize the task */ - - ret = task_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority, - stack, binp->entrypt, binp->argv); -#endif if (ret < 0) { err = get_errno(); @@ -247,13 +238,9 @@ int exec_module(FAR const struct binary_s *binp) return (int)pid; errout_with_stack: -#ifndef CONFIG_CUSTOM_STACK tcb->cmn.stack_alloc_ptr = NULL; sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK); kumm_free(stack); -#else - sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK); -#endif goto errout; errout_with_tcb: |