summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-16 15:55:21 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-16 15:55:21 -0600
commite6e9bf0ecc4c6dac335b8a5ca7ee02895981e8f1 (patch)
treeb004669ae45d74c3b16eb058947aae47305c46cd /nuttx/sched
parent13b9b1d9519dfa20a0047866b1070fe927519785 (diff)
downloadpx4-nuttx-e6e9bf0ecc4c6dac335b8a5ca7ee02895981e8f1.tar.gz
px4-nuttx-e6e9bf0ecc4c6dac335b8a5ca7ee02895981e8f1.tar.bz2
px4-nuttx-e6e9bf0ecc4c6dac335b8a5ca7ee02895981e8f1.zip
More changes so that the KNSH build survives the changes needed for the ELF build
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/task/task_create.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nuttx/sched/task/task_create.c b/nuttx/sched/task/task_create.c
index 32b121164..351b3ddc0 100644
--- a/nuttx/sched/task/task_create.c
+++ b/nuttx/sched/task/task_create.c
@@ -52,8 +52,6 @@
#include "group/group.h"
#include "task/task.h"
-#ifndef CONFIG_BUILD_KERNEL
-
/****************************************************************************
* Preprocessor Definitions
****************************************************************************/
@@ -271,5 +269,3 @@ int kernel_thread(FAR const char *name, int priority,
{
return thread_create(name, TCB_FLAG_TTYPE_KERNEL, priority, stack_size, entry, argv);
}
-
-#endif /* CONFIG_BUILD_KERNEL */