summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-27 13:11:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-27 13:11:34 -0600
commitcbdb77a10a33626f51bc3402a6893c04c686d2d1 (patch)
treee617d495bcc63f7f9376652727fd05b935849088
parent589f764f3bb76d2ca15cbcd3f2a668361f46ea09 (diff)
downloadnuttx-cbdb77a10a33626f51bc3402a6893c04c686d2d1.tar.gz
nuttx-cbdb77a10a33626f51bc3402a6893c04c686d2d1.tar.bz2
nuttx-cbdb77a10a33626f51bc3402a6893c04c686d2d1.zip
OS startup logic should not call group_setupidelfiles() if there is no file system support configured
-rw-r--r--nuttx/ChangeLog5
-rw-r--r--nuttx/sched/os_start.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 985347a57..636751bb3 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -5653,3 +5653,8 @@
* drivers/net/encx24j600.c: Removed logic that polls for the
next outgoing packet from the TX done interrupt handling. From
Max Holtzberg (2013-9-27)
+ * sched/os_start.c: Should not call group_setupidlefiles() if there
+ are not file descriptors (and, hence, no file system) (2013-9-27).
+ * arch/arm/src/sama5/sam_gmac.c: GMAC driver and GMII logic is
+ code complete and readay for test (2013-9-27)
+
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index 84c61044b..a7cd4b9f4 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -486,7 +486,9 @@ void os_start(void)
* inherited by all of the threads created by the IDLE task.
*/
+#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0
DEBUGVERIFY(group_setupidlefiles(&g_idletcb));
+#endif
/* Complete initialization of the IDLE group. Suppress retention
* of child status in the IDLE group.